DEVEL15-windows-fs-chown-chgrp-20090701
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 1 Jul 2009 21:25:51 +0000 (21:25 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 1 Jul 2009 21:25:51 +0000 (21:25 +0000)
commitc02f9d1d30d724ade38fe5e83ad84166ead8ebf2
treea303a43ed6bd9bf3539b4b7acdbd49e0271c6d64
parent5e61d215ae5b1e14c1df208967078857815b9f73
DEVEL15-windows-fs-chown-chgrp-20090701

LICENSE MIT

On Windows there is no chown or chgrp command that can be used to
change the owner or group of an object in AFS.   Therefore we
add them to the fs command.

Usage: fs chown -owner <user name or id> [-path <dir/file path>+] [-literal] [-help]
Where: -literal  literal evaluation of mountpoints and symlinks

Usage: fs chgrp -group <user/group name or id> [-path <dir/file path>+] [-literal] [-help]
Where: -literal  literal evaluation of mountpoints and symlinks

(cherry picked from commit ffd065a69578ad26c860b0b3e54053d6432c4a21)
src/WINNT/afsd/cm_ioctl.c
src/WINNT/afsd/cm_ioctl.h
src/WINNT/afsd/fs.c
src/WINNT/afsd/smb_iocons.h
src/WINNT/afsd/smb_ioctl.c
src/WINNT/afsd/smb_ioctl.h