.\" @(#)$RCSfile: lfc-chgrp.man,v $ $Revision: 1.1 $ $Date: 2007/01/13 10:35:39 $ CERN IT-GD/ITR Jean-Philippe Baud .\" Copyright (C) 1999-2006 by CERN/IT/GD/ITR .\" All rights reserved .\" .TH LFC-CHGRP 1 "$Date: 2007/01/13 10:35:39 $" LFC "LFC User Commands" .SH NAME lfc-chgrp \- change group ownership of a LFC directory/file in the name server .SH SYNOPSIS .B lfc-chgrp .RB [ -h ] .RB [ -R ] .IR group .IR path ... .SH DESCRIPTION .B lfc-chgrp sets the group ownership of a LFC directory/file in the name server to the value of .IR group . .LP 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. .TP .I group is either a valid group name or a valid numeric ID. .TP .I path specifies the LFC pathname. If .I path does not start with .BR / , it is prefixed by the content of the .B LFC_HOME environment variable. .SH OPTIONS The following options are supported: .TP .B -h If .I path is a symbolic link, changes the ownership of the link itself. .TP .B -R Recursive mode. .SH EXIT STATUS This program returns 0 if the operation was successful or >0 if the operation failed. .SH SEE ALSO .BR Castor_limits(4) , .BR lfc_chown(3) , .B Cupvlist(1) .SH AUTHOR \fBLCG Grid Deployment\fP Team