3 fs_chown - Changes the owner for an object stored within AFS [Windows only]
10 B<fs chown> S<<< B<-owner> <I<owner>> >>> S<<< B<-path> <I<dir/file path>>+ >>>
11 [B<-literal>][B<-help>]
18 The B<fs chown> command assigns the specified B<owner> to each object
19 specified with the B<-path>.
21 If the B<-literal> argument is specified, the targets of symlinks and mountpoints
22 are not resolved. This permits the ownership of the symlink or
23 mountpoint to be assigned.
25 The B<owner> can be specified by name or by number. If specified by
26 name, the name will be resolved to the numeric value by querying the
27 protection server in the cell for each specified B<-path> object.
29 To display the current owner, use the B<fs examine> command.
33 Explicit or implicit administrator access rights are required to be able to
34 change the owner of an object stored in AFS. Changing ownership can alter
35 the current user's implicit rights.
37 This command is available in versions of OpenAFS for Windows 1.5.61 and higher.
43 =item B<-owner> <I<owner>>
45 A valid name or number of a user identifier in the Protection Service
48 =item B<-path> <I<dir/file path>>+
50 Names each AFS directory or file, on which the owner will be set.
51 Partial pathnames are interpreted relative to the current working
54 Specify the read/write path to each directory to avoid the
55 failure that results from attempting to change a read-only volume. By
56 convention, the read/write path is indicated by placing a period before
57 the cell name at the pathname's second level (for example,
58 F</afs/.example.com>). For further discussion of the concept of read/write and
59 read-only paths through the filespace, see the B<fs mkmount> reference
64 When specified, the targets of symlinks and mountpoints are not resolved.
65 This permits the ownership of the symlink or mountpoint to be assigned.
69 Prints the online help for this command. All other valid options are
74 =head1 PRIVILEGE REQUIRED
76 The issuer must have the C<a> (administer) permission on the directory's
77 ACL, a member of the system:administrators group, or, as a special case,
78 must be the UID owner of the top-level directory of the volume containing
88 This document was written by Jeffrey Altman and is released under the BSD license.