]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Windows: fs chmod and display mode in fs examine
authorJeffrey Altman <jaltman@your-file-system.com>
Sat, 18 Dec 2010 23:39:07 +0000 (18:39 -0500)
committerDerrick Brashear <shadow@dementia.org>
Wed, 2 Feb 2011 02:43:15 +0000 (18:43 -0800)
commitc4afe2d7cfb54fc39e6419a166cd2fdf051c18bf
tree57aa1cc9b452b006376d6d40d4b533d58926cb9a
parent0ff1c2a48273e7626365f07dc91056fcba2e7b46
Windows: fs chmod and display mode in fs examine

Make use of the new pioctl VIOC_GETUNIXMODE and VIOC_SETUNIXMODE
operations to display the current mode in fs examine and permit
setting the mode with "fs chmod".   The mode string parsing makes
use of Vincent Archer's code from Minix.  The required copyright
statement and license is attached to parsemode().

afsconfig-windows.h gains definitions for various mode symbols
that are not defined by Visual Studio runtime headers.

(cherry picked from commit afef1712f28a1c83cfb732d1c4fde7faec4811fc)
Reviewed-on: http://gerrit.openafs.org/3546
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Change-Id: Iaaa70fbef86524df82bc04754276836fff643357
Reviewed-on: http://gerrit.openafs.org/3804
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/WINNT/afsd/fs.c
src/config/afsconfig-windows.h