diff options
author | Steve French <sfrench@us.ibm.com> | 2007-06-08 14:55:14 +0000 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-06-08 14:55:14 +0000 |
commit | 3ce53fc4c57603d99c330a6ee2fe96d94f2d350f (patch) | |
tree | 54a5e999cc6044669139fb5e3a7cc0a1db31e86f /fs/splice.c | |
parent | 100c1ddc98e070c1b595d6bad329fb57bc57313c (diff) |
[CIFS] CIFS should honour umask
This patch makes CIFS honour a process' umask like other filesystems.
Of course the server is still free to munge the permissions if it wants
to; but the client will send the "right" permissions to begin with.
A few caveats:
1) It only applies to filesystems that have CAP_UNIX (aka support unix
extensions)
2) It applies the correct mode to the follow up CIFSSMBUnixSetPerms()
after remote creation
When mode to CIFS/NTFS ACL mapping is complete we can do the
same thing for that case for servers which do not
support the Unix Extensions.
Signed-off-by: Matt Keenen <matt@opcode-solutions.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/splice.c')
0 files changed, 0 insertions, 0 deletions