This is the command lfc-chgrp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
lfc-chgrp - change group ownership of a LFC directory/file in the name server
lfc-chgrp [-h] [-R] group path...
lfc-chgrp sets the group ownership of a LFC directory/file in the name server to the value
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.
group is either a valid group name or a valid numeric ID.
path specifies the LFC pathname. If path does not start with /, it is prefixed by the
content of the LFC_HOME environment variable.
The following options are supported:
-h If path is a symbolic link, changes the ownership of the link itself.
-R Recursive mode.
This program returns 0 if the operation was successful or >0 if the operation failed.
Use lfc-chgrp online using onworks.net services