diff options
author | Jeremy Allison <jra@samba.org> | 2011-05-17 16:18:51 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-05-18 02:22:32 +0200 |
commit | 28734295557620c36ffe8f51dcef7158c46d78a0 (patch) | |
tree | 6baa57f38719f032d0e0ca9c7088e50ce307ec97 /buildtools/wafsamba | |
parent | 87a1888272127b53bab61a6e69023e67bdfca8d1 (diff) | |
download | samba-28734295557620c36ffe8f51dcef7158c46d78a0.tar.gz samba-28734295557620c36ffe8f51dcef7158c46d78a0.tar.bz2 samba-28734295557620c36ffe8f51dcef7158c46d78a0.zip |
Fix bug #8144 - touch /mnt/newfile fails to set timestamp with CIFS client.
The extra checks added for Windows correctness in our metadata changing paths
to ensure the file handle has been opened with the correct access mask to
allow FILE_WRITE_ATTRIBUTES etc. caused problems with the POSIX open code.
The old POSIX open code maped O_RDONLY into FILE_READ, O_WRONLY into FILE_WRITE,
and O_RDWR into FILE_READ|FILE_WRITE. This patch extends the mapping to add
FILE_WRITE_ATTRIBUTES, FILE_READ_ATTRIBUTES and FILE_WRITE_EA, FILE_READ_EA to
allow POSIX opens to set these values.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed May 18 02:22:32 CEST 2011 on sn-devel-104
Diffstat (limited to 'buildtools/wafsamba')
0 files changed, 0 insertions, 0 deletions