[Pkg-samba-maint] Bug#532153: Bug#532153: Bug#532153: smbfs: fsetxattr fails with smbmount from Debian/amd64 to Debian/i386

Steve Langasek vorlon at debian.org
Tue Jun 9 05:15:35 UTC 2009


reassign 532153 linux-2.6
retitle 532153 cifs reports EACCES instead of EOPNOTSUPP for acls
thanks

On Tue, Jun 09, 2009 at 01:56:00PM +0930, Arthur Marsh wrote:
> lchown("./debian/po/po", 0, 0)          = 0
> llistxattr("/usr/share/kernel-package/po", (nil), 0) = 0
> llistxattr("/usr/share/kernel-package/po", 0x7fff766ffd00, 0) = 0
> getxattr("/usr/share/kernel-package/po", "system.posix_acl_access",  
> 0x7fff766ffbd0, 132) = -1 EOPNOTSUPP (Operation not supported)
> setxattr("./debian/po/po", "system.posix_acl_access",  
> "\x02\x00\x00\x00\x01\x00\x07\x00\xff\xff\xff\xff\x04\x00\x05\x00\xff\xff\xff\xff 
> \x00\x05\x00\xff\xff\xff\xff", 28, 0) = 0
> removexattr("./debian/po/po", "system.posix_acl_default") = -1  
> EOPNOTSUPP (Operation not supported)
> write(2, "cp: ", 4cp: )                     = 4
> write(2, "preserving permissions for `./de"..., 43preserving permissions  
> for `./debian/po/po') = 43
> write(2, ": Operation not supported", 25: Operation not supported) = 25
> write(2, "\n", 1
> )                       = 1
> close(0)                                = 0
> close(1)                                = 0
> close(2)                                = 0
> exit_group(1)                           = ?

So in this case, both the source and destination filesystems report that
they don't support posix acls; but cp exits with an error.

I think that's a (separate) coreutils bug.

While it seems to be an error that the CIFS driver reports ACLs are not
supported in this case, I think that's a relatively minor problem and that
getting coreutils fixed should be the priority.

Anyway, reassigning to the kernel package now, since it's established that
the initial problem is a kernel bug.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek at ubuntu.com                                     vorlon at debian.org





More information about the Pkg-samba-maint mailing list