1DPNS‐CHOWN(1)                       DPNS       User      Commands
2DPNS‐CHOWN(1)
3
4
5
6[1mNAME[0m
7       dpns‐chown  ‐  change  owner  and group of a DPNS directo‐
8ry/file in the
9       name server
10
11[1mSYNOPSIS[0m
12       [1mdpns‐chown    [22m[[1m‐h[22m]    [[1m‐R[22m]    [4mown‐
13er[24m[:[4mgroup[24m] [4mpath[24m...
14
15       [1mdpns‐chown  [22m[[1m‐h[22m]  [[1m‐R[22m]  :[4mgroup[24m
16[4mpath[24m...
17
18[1mDESCRIPTION[0m
19       [1mdpns‐chown [22msets the owner and/or the group of a DP‐
20NS directory/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   DPNS   pathname.    If
45[4mpath[24m does not start with [1m/[22m, it
46              is prefixed by the  content  of  the   [1mDPNS_HOME
47[22menvironment  vari‐
48              able.
49
50[1mOPTIONS[0m
51       The following options are supported:
52
53       [1m‐h       [22mIf   [4mpath[24m   is   a  symbolic  link,
54changes the ownership of the link
55              itself.
56
57       [1m‐R     [22mRecursive mode.
58
59[1mEXIT STATUS[0m
60       This program returns 0 if the operation was successful  or
61>0  if  the
62       operation failed.
63
64[1mSEE ALSO[0m
65       [1mCastor_limits(4)[22m,             [1mdpns_chown(3)[22m,
66[1mCupvlist(1)[0m
67
68[1mAUTHOR[0m
69       [1mLCG Grid Deployment [22mTeam
70
71
72
73DPNS                        $Date:    2007/01/15    08:05:17    $
74DPNS‐CHOWN(1)
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
Impressum