nwrights (1)

Name

nwrights - Displays or modifies a user's trustee assignments or inherited rights filter for volumes, directories, or files.

Syntax

nwrights  {-t|-f  <+|->rights_list |-r <+|->rights_list}  {-m  <+|>rights_list |-w|-e} [-o <string>] [-s] [--] [-v][-h] <FileSystem objects to perform operation with> ...

Description

The nwrights utility allows you to display and give rights to files and directories on a Novell server. Rights can be given directly or through inherited rights filters.

Options

-w

View the trustees, inheritance filter, or effective rights.

-e

Remove Trustee.

-s

Traverse subdirectories.

-r <+|-><rights>

Allows you to add (+) or delete (-) specified rights to or from the rights list. The rights are:

s=Supervisor

r=Read

w=Write

c=Create

e=Erase

m=Modify

f=File Scan

a=Access Control

n=No Rights

l=All rights except Supervisor

-t

Displays the trustee rights.

-m

Removes the specified trustee rights.

-f

Displays or modifies the inherited rights filter.

-i

Displays or modifies the inherited rights filter.

-o <user or group object name>

Specifies the User or Group object that you want to change the rights for.

-p <network path>

Specifies the network path to the file.

-v

Displays version information and exits.

-h

Displays the help strings.

Examples

nwrights -t -w dir1

Displays the trustees on a directory named dir1.

nwrights -r -w dir1

Displays the effective rights.

nwrights -f -w dir1

Displays inheritance filter.

nwrights -t -e -o "abc.xyz" dir1

Removes the trustee abc.xyz.

nwrights -t -m +r -o "abc.xyz" dir1

Assigns read access to the trustee abc.xyz.

Authors

Copyright 2005-2009, Novell, Inc. All rights reserved. http://www.novell.com

To report problems with this software or its documentation, visit http://bugzilla.novell.com