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

NAME

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

SYNOPSIS

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

DESCRIPTION

15       dpns-chown sets the owner and/or the group of a DPNS 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 DPNS pathname.  If path does not start with /, it
31              is prefixed by the content of the  DPNS_HOME  environment  vari‐
32              able.
33

OPTIONS

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

EXIT STATUS

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

SEE ALSO

47       Castor_limits(4), dpns_chown(3), Cupvlist(1)
48

AUTHOR

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