This report was originally reported as Debian Bug#532153 against
smbfs, and the maintainer suggested that a bug be filed against coreutils.
When trying to do a cp -af from a local file to an
SMBFS-mounted share where the server filesystem has been
mounted with acl support, I get the following error on strace:
strace cp -af /usr/share/kernel-package/po ./debian/po
[excerpt follows]
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) = ?
The cp command fails even though the file was copied to the destination,
and the script that called the cp command also failed.
This report was originally reported as Debian Bug#532153 against
smbfs, and the maintainer suggested that a bug be filed against
coreutils. The Debian bug report number against coreutils is #532413.
When trying to do a cp -af from a local file to an
SMBFS-mounted share where the server filesystem has been
mounted with acl support, I get the following error on strace:
strace cp -af /usr/share/kernel-package/po ./debian/po
[excerpt follows]
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) = ?
The cp command fails even though the file was copied to the destination,
and the script that called the cp command also failed.
This report was originally reported as Debian Bug#532153 against
smbfs, and the maintainer suggested that a bug be filed against
coreutils. The Debian bug report number against coreutils is #532413.
When trying to do a cp -af from a local file to an
SMBFS-mounted share where the server filesystem has been
mounted with acl support, I get the following error on strace:
strace cp -af /usr/share/kernel-package/po ./debian/po
[excerpt follows]
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) = ?
The cp command fails even though the file was copied to the destination,
and the script that called the cp command also failed.
tag 532413 moreinfo thanks Follow-up to http://bugs.debian.org/532413 (cp fails on SMBFS mount due to error on EOPNOTSUPP) Can anyone still reproduce this bug using current coreutils (8.5-1 in Debian, 8.12 or git HEAD upstream)? I don't have a SMBFS to test it on, unfortunately.