]> Git Repo - linux.git/commit - fs/cifs/inode.c
cifs: when ATTR_READONLY is set, only clear write bits on non-directories
authorJeff Layton <[email protected]>
Thu, 9 Jul 2009 05:46:44 +0000 (01:46 -0400)
committerSteve French <[email protected]>
Thu, 9 Jul 2009 23:06:04 +0000 (23:06 +0000)
commitd0c280d26de9422c9c943f8f486b9830cd9bea70
tree1f2a3471b6d22ace11d954ddd480db539ff69939
parentaeaaf253c4dee7ff9af2f3f0595f3bb66964e944
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: [email protected]
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Steve French <[email protected]>
fs/cifs/inode.c
This page took 0.054274 seconds and 4 git commands to generate.