diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-05 17:50:18 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-03-05 23:07:31 +1100 |
commit | edd5a572d8f5d94511013e55744fcde48b16a3eb (patch) | |
tree | 6e75231335105d95fc85c87c83bfcb06b16f5d10 /source4/ntvfs/posix/vfs_posix.c | |
parent | ee4ae0e7add840e1702b5630e6d23be19833a612 (diff) | |
download | samba-edd5a572d8f5d94511013e55744fcde48b16a3eb.tar.gz samba-edd5a572d8f5d94511013e55744fcde48b16a3eb.tar.xz samba-edd5a572d8f5d94511013e55744fcde48b16a3eb.zip |
s4-pvfs: added new pvfs flag PVFS_FLAG_PERM_OVERRIDE
This flag indicates that we should use root privileges to override
unix permissions when the NT ACLs indicate that access should be
granted
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.c')
-rw-r--r-- | source4/ntvfs/posix/vfs_posix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.c b/source4/ntvfs/posix/vfs_posix.c index 5134c0a608..f22f1d4817 100644 --- a/source4/ntvfs/posix/vfs_posix.c +++ b/source4/ntvfs/posix/vfs_posix.c @@ -58,6 +58,8 @@ static void pvfs_setup_options(struct pvfs_state *pvfs) pvfs->flags |= PVFS_FLAG_FAKE_OPLOCKS; if (share_bool_option(scfg, PVFS_AIO, false)) pvfs->flags |= PVFS_FLAG_LINUX_AIO; + if (share_bool_option(scfg, PVFS_PERM_OVERRIDE, true)) + pvfs->flags |= PVFS_FLAG_PERM_OVERRIDE; /* file perm options */ pvfs->options.create_mask = share_int_option(scfg, |