diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-12-29 12:41:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:42 -0500 |
commit | 359cf872df35096aaf30a36612c62f42d7015378 (patch) | |
tree | f0a3033915e06932d836b6c3f7b32a3004abfecb /source4/ntvfs/posix/pvfs_fileinfo.c | |
parent | f05bc12213477676967b5c1780c8cca61b262317 (diff) | |
download | samba-359cf872df35096aaf30a36612c62f42d7015378.tar.gz samba-359cf872df35096aaf30a36612c62f42d7015378.tar.bz2 samba-359cf872df35096aaf30a36612c62f42d7015378.zip |
r4391: bring the default ACL inline with what w2k3 uses
(This used to be commit 16967f7502ea6d2efa0fc08decc955a1516c3a02)
Diffstat (limited to 'source4/ntvfs/posix/pvfs_fileinfo.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_fileinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/ntvfs/posix/pvfs_fileinfo.c b/source4/ntvfs/posix/pvfs_fileinfo.c index 888d5f78c0..fc60aa6e89 100644 --- a/source4/ntvfs/posix/pvfs_fileinfo.c +++ b/source4/ntvfs/posix/pvfs_fileinfo.c @@ -99,10 +99,10 @@ NTSTATUS pvfs_fill_dos_info(struct pvfs_state *pvfs, struct pvfs_filename *name, */ mode_t pvfs_fileperms(struct pvfs_state *pvfs, uint32 attrib) { - mode_t mode = S_IRUSR | S_IRGRP | S_IROTH; + mode_t mode = S_IRUSR; if (attrib & FILE_ATTRIBUTE_DIRECTORY) { - mode |= S_IXUSR | S_IXGRP | S_IXOTH; + mode |= S_IXUSR; } if (!(attrib & FILE_ATTRIBUTE_READONLY) || |