diff options
author | Lubomir Rintel <lubo.rintel@gooddata.com> | 2011-11-03 08:51:50 +0100 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2012-01-12 09:11:54 -0800 |
commit | 8a78d969ee8b7c284751364d72496eec84c7290b (patch) | |
tree | 399baa6bf71bd27d28667be62f56aa161f961b8a /xlators/system | |
parent | 169c73f28dae61236de54889edcaa8236d91da59 (diff) |
fuse-bridge: preserve original mode and umask
FUSE used to interpret the umask itself. That was a bad idea, since
there are cases where umask is not applied, such as when extended POSIX
ACLs are present and default ACLs are set on parent directory.
Thus, FUSE was changed to pass umask to operation handler itself in case
the fuse server is initialized with FUSE_DONT_MASK. In case FUSE
supports it, gluster client sends mode unmasked and umask separately (
masked mode is still sent, for compatibility with old servers).
the mode as-is for compatibility with older clients.
Change-Id: I55862b39a25261446f18ba0b3c03f85b41c4d722
Signed-off-by: Lubomir Rintel <lubo.rintel@gooddata.com>
Tested-by: Lubomir Rintel <lubo.rintel@gooddata.com>
BUG: 765508
Reviewed-on: http://review.gluster.com/667
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators/system')
0 files changed, 0 insertions, 0 deletions