1LFC‐CHOWN(1) LFC User Commands
2LFC‐CHOWN(1)
3
4
5
6[1mNAME[0m
7 lfc‐chown ‐ change owner and group of a LFC directo‐
8ry/file in the name
9 server
10
11[1mSYNOPSIS[0m
12 [1mlfc‐chown [22m[[1m‐h[22m] [[1m‐R[22m] [4mown‐
13er[24m[:[4mgroup[24m] [4mpath[24m...
14
15 [1mlfc‐chown [22m[[1m‐h[22m] [[1m‐R[22m] :[4mgroup[24m
16[4mpath[24m...
17
18[1mDESCRIPTION[0m
19 [1mlfc‐chown [22msets the owner and/or the group of a LFC
20directory/file in
21 the name server to the values in [4mowner[24m and
22[4mgroup[24m respectively.
23
24 To change the owner ID, if the group ID does not
25change and if the
26 caller and the new owner ID belong to that group, GRP_AD‐
27MIN privilege
28 is needed, otherwise the caller must have ADMIN privi‐
29lege in the Cupv
30 database. To change the group ID, the effective user ID
31of the process
32 must match the owner ID of the file and the new group
33must be in the
34 list of groups the caller belong to or the caller must
35have ADMIN priv‐
36 ilege in the Cupv database.
37
38 [4mowner[24m is either a valid username or a valid numer‐
39ic ID.
40
41 [4mgroup[24m is either a valid group name or a valid nu‐
42meric ID.
43
44 [4mpath[24m specifies the LFC pathname. If
45[4mpath[24m does not start with [1m/[22m, it
46 is prefixed by the content of the [1mLFC_HOME
47[22menvironment variable.
48
49[1mOPTIONS[0m
50 The following options are supported:
51
52 [1m‐h [22mIf [4mpath[24m is a symbolic link, changes
53the ownership of the link
54 itself.
55
56 [1m‐R [22mRecursive mode.
57
58[1mEXIT STATUS[0m
59 This program returns 0 if the operation was successful
60or >0 if the
61 operation failed.
62
63[1mSEE ALSO[0m
64 [1mCastor_limits(4)[22m, [1mlfc_chown(3)[22m,
65[1mCupvlist(1)[0m
66
67[1mAUTHOR[0m
68 [1mLCG Grid Deployment [22mTeam
69
70
71
72LFC $Date: 2007/01/15 08:05:17 $
73LFC‐CHOWN(1)
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132