summaryrefslogtreecommitdiff
path: root/source4/ntvfs/posix/vfs_posix.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-07-04 04:16:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:59:03 -0500
commit879e1e0ec746d9d06c3bef1c91d1d2cd6f916442 (patch)
tree3efbc2cd73aa40c73e32cb4ac4e7f99ac7ff6b9c /source4/ntvfs/posix/vfs_posix.h
parentb540bc85ff8140424e9e925aa73f1f1cacfbd64a (diff)
downloadsamba-879e1e0ec746d9d06c3bef1c91d1d2cd6f916442.tar.gz
samba-879e1e0ec746d9d06c3bef1c91d1d2cd6f916442.tar.bz2
samba-879e1e0ec746d9d06c3bef1c91d1d2cd6f916442.zip
r23697: use the file perm options in the posix backend
(This used to be commit 701d06ac016c69fcd9ac92b5afefa2346c9bc26f)
Diffstat (limited to 'source4/ntvfs/posix/vfs_posix.h')
-rw-r--r--source4/ntvfs/posix/vfs_posix.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/ntvfs/posix/vfs_posix.h b/source4/ntvfs/posix/vfs_posix.h
index cff0206f61..78b63612da 100644
--- a/source4/ntvfs/posix/vfs_posix.h
+++ b/source4/ntvfs/posix/vfs_posix.h
@@ -86,6 +86,14 @@ struct pvfs_state {
/* the acl backend */
const struct pvfs_acl_ops *acl_ops;
+
+ /* non-flag share options */
+ struct {
+ mode_t dir_mask;
+ mode_t force_dir_mode;
+ mode_t create_mask;
+ mode_t force_create_mode;
+ } options;
};
/* this is the basic information needed about a file from the filesystem */