]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
silently ignore ownership changes unless unix extensions are enabled or we're faking...
authorJeff Layton <jlayton@redhat.com>
Thu, 22 May 2008 13:33:34 +0000 (09:33 -0400)
committerSteve French <sfrench@us.ibm.com>
Fri, 23 May 2008 18:25:17 +0000 (18:25 +0000)
commit4ca691a892e8ab4f79583de1394f17a7dcfa2b57
tree7c049eb1898ad1668f8d148b2d68d36213ce0841
parent4e94a105ed0df78e25b20ff8ed6761f5937662b1
silently ignore ownership changes unless unix extensions are enabled or we're faking uid changes

CIFS currently allows you to change the ownership of a file, but unless
unix extensions are enabled this change is not passed off to the server.

Have CIFS silently ignore ownership changes that can't be persistently
stored on the server unless the "setuids" option is explicitly
specified.

We could return an error here (-EOPNOTSUPP or something), but this is
how most disk-based windows filesystems on behave on Linux (e.g.  VFAT,
NTFS, etc). With cifsacl support and proper Windows to Unix idmapping
support, we may be able to do this more properly in the future.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/inode.c