Content-type: text/html
Manpage of Schmod
Schmod
Section: User SRB Commands (1)
Updated: Jan 2003
Index
Return to Main Contents
NAME
Schmod - changes permission modes and ownership for objects and collections
in SRB space
SYNOPSIS
Schmod
[-h]
[-a]
[-p]
[-r]
[-d|c|D]
[-C]
w|a|r|n|t|o|c
newUserName domainName
collection|srbObj ...
DESCRIPTION
Schmod
grants/changes access permissions or changes owners for the operand
collection or srbObj ... for newUserName in domainName.
If the operand is a dataset (srbObj), the permission is granted
for all copies (replica) of the dataset.
Access permissions allowed are write (w), read (r), all (a),
annotate (t), none (n), give curator (c) permission or change owner (o).
The user changing permissions should have 'all' access
permission for each SrbObj.
OPTIONS
- -r
-
grants/changes access permissions recursively for data and sub-collections in
collection
and in all sub-collections under it.
- -d
-
grants/changes access permissions for datasets only.
- -D
-
grants/changes access permissions for all datasets and sub-collections under
collection
but does not change any permission for datasets or collections under its sub-collections. With the -r option will do it recursively for sub-collections also.
- -C
-
grants/changes access permissions for all datasets and sub-collections under
collection
if the user is a curator for at least one of the ancestor collections. With the -r option will do it recursively for sub-collections also.
-
-c
grants/changes access permissions for collections only.
- -a
-
adds auditing feature for the access permission granted
for datasets. Auditing works only if the audit_flag is
turned on when compiling the MCAT Server.
- -p
-
prompt user for confirmation before changing.
- -h
-
help
SEE ALSO
SgetD(1),
SgetU(1)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 18:44:15 GMT, July 02, 2004