1LFC-CHOWN(1)                   LFC User Commands                  LFC-CHOWN(1)
2
3
4

NAME

6       lfc-chown  - change owner and group of a LFC directory/file in the name
7       server
8

SYNOPSIS

10       lfc-chown [-h] [-R] owner[:group] path...
11
12       lfc-chown [-h] [-R] :group path...
13

DESCRIPTION

15       lfc-chown sets the owner and/or the group of a  LFC  directory/file  in
16       the name server to the values in owner and group respectively.
17
18       To  change  the  owner  ID,  if the group ID does not change and if the
19       caller and the new owner ID belong to that group,  GRP_ADMIN  privilege
20       is  needed,  otherwise the caller must have ADMIN privilege in the Cupv
21       database.  To change the group ID, the effective user ID of the process
22       must  match  the  owner ID of the file and the new group must be in the
23       list of groups the caller belong to or the caller must have ADMIN priv‐
24       ilege in the Cupv database.
25
26       owner  is either a valid username or a valid numeric ID.
27
28       group  is either a valid group name or a valid numeric ID.
29
30       path   specifies  the  LFC pathname.  If path does not start with /, it
31              is prefixed by the content of the LFC_HOME environment variable.
32

OPTIONS

34       The following options are supported:
35
36       -h     If path is a symbolic link, changes the ownership  of  the  link
37              itself.
38
39       -R     Recursive mode.
40

EXIT STATUS

42       This  program  returns  0  if the operation was successful or >0 if the
43       operation failed.
44

SEE ALSO

46       Castor_limits(4), lfc_chown(3), Cupvlist(1)
47

AUTHOR

49       LCG Grid Deployment Team
50
51
52
53LFC                      $Date: 2007/01/15 08:05:17 $             LFC-CHOWN(1)
Impressum