diff options
author | Jeff Layton <jlayton@redhat.com> | 2009-07-09 01:46:44 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2009-07-09 23:06:04 +0000 |
commit | d0c280d26de9422c9c943f8f486b9830cd9bea70 (patch) | |
tree | 1f2a3471b6d22ace11d954ddd480db539ff69939 /fs/cifs/nterr.c | |
parent | aeaaf253c4dee7ff9af2f3f0595f3bb66964e944 (diff) |
cifs: when ATTR_READONLY is set, only clear write bits on non-directories
cifs: when ATTR_READONLY is set, only clear write bits on non-directories
On windows servers, ATTR_READONLY apparently either has no meaning or
serves as some sort of queue to certain applications for unrelated
behavior. This MS kbase article has details:
http://support.microsoft.com/kb/326549/
Don't clear the write bits directory mode when ATTR_READONLY is set.
Reported-by: pouchat@peewiki.net
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/nterr.c')
0 files changed, 0 insertions, 0 deletions