From: Steve French Date: Fri, 8 Jun 2007 14:55:14 +0000 (+0000) Subject: [CIFS] CIFS should honour umask X-Git-Tag: v2.6.22-rc5~50^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ce53fc4c57603d99c330a6ee2fe96d94f2d350f;p=pandora-kernel.git [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 Signed-off-by: Steve French --- Reading git-diff-tree failed