The following commit has been merged in the master branch:
commit b0a3d581a6cd20f3ac77212685b1645431bcb7ef
Author: Asanka Herath <[email protected]>
Date: Sat Mar 20 16:46:05 2010 -0400
Windows: Make default mode bits configurable
Mode bits aren't directly exposed by the Win32 API. We were leaving
them to default to 0777 when creating new files and directories.
This patch introduces two configuration parameters;
'UnixModeFileDefault' and 'UnixModeDirDefault' which are DWORD
registry entries that are used to set the initial mode bits.
If the values are set to 0, then the behavior is identical to what we
had before.
Change-Id: I7822141aab1e12cc8e151be771f779284fa68465
Reviewed-on: http://gerrit.openafs.org/1602
Reviewed-by: Derrick Brashear <[email protected]>
Reviewed-by: Asanka Herath <[email protected]>
Tested-by: Asanka Herath <[email protected]>
Reviewed-by: Jeffrey Altman <[email protected]>
Tested-by: Jeffrey Altman <[email protected]>
src/WINNT/afsd/afsd_init.c | 16 ++++++++++++++++
src/WINNT/afsd/smb.c | 33 +++++++++++++++++++++++++++------
src/WINNT/afsd/smb.h | 5 +++++
src/WINNT/afsd/smb3.c | 41 +++++++++++------------------------------
4 files changed, 59 insertions(+), 36 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs