LFC-CHOWN(1) | LFC User Commands | LFC-CHOWN(1) |
lfc-chown - change owner and group of a LFC directory/file in the name server
lfc-chown [-h] [-R] owner[:group] path...
lfc-chown [-h] [-R] :group path...
lfc-chown sets the owner and/or the group of a LFC directory/file in the name server to the values in owner and group 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 privilege in the Cupv database.
The following options are supported:
This program returns 0 if the operation was successful or >0 if the operation failed.
LCG Grid Deployment Team
$Date: 2007/01/15 08:05:17 $ | LFC |