lfc-chown man page
LFC-CHOWN(1) LFC User Commands LFC-CHOWN(1)
lfc-chown - change owner and group of a LFC directory/file in the name
[1mlfc-chown [22m[[1m-h[22m] [[1m-R[22m] [4mowner[24m[:[4mgroup[24m] [4mpath[24m...
[1mlfc-chown [22m[[1m-h[22m] [[1m-R[22m] :[4mgroup[24m [4mpath[24m...
[1mlfc-chown [22msets the owner and/or the group of a LFC directory/file in
the name server to the values in [4mowner[24m and [4mgroup[24m respectively.
To change the owner ID, if the group ID does not change and if the
caller and the new owner ID belong to that group, GRP_ADMIN privilege
is needed, otherwise the caller must have ADMIN privilege in the Cupv
database. To change the group ID, the effective user ID of the process
must match the owner ID of the file and the new group must be in the
list of groups the caller belong to or the caller must have ADMIN priv-
ilege in the Cupv database.
[4mowner[24m is either a valid username or a valid numeric ID.
[4mgroup[24m is either a valid group name or a valid numeric ID.
[4mpath[24m specifies the LFC pathname. If [4mpath[24m does not start with [1m/[22m, it
is prefixed by the content of the [1mLFC_HOME [22menvironment variable.
The following options are supported:
[1m-h [22mIf [4mpath[24m is a symbolic link, changes the ownership of the link
[1m-R [22mRecursive mode.
This program returns 0 if the operation was successful or >0 if the
[1mCastor_limits(4)[22m, [1mlfc_chown(3)[22m, [1mCupvlist(1)[0m
[1mLCG Grid Deployment [22mTeam
LFC $Date: 2007/01/15 08:05:17 $ LFC-CHOWN(1)