Debian Bug report logs - #532413
coreutils: cp fails on SMBFS mount due to error on EOPNOTSUPP

version graph

Package: coreutils; Maintainer for coreutils is Michael Stone <[email protected]>; Source for coreutils is src:coreutils (PTS, buildd, popcon).

Reported by: Arthur Marsh <[email protected]>

Date: Tue, 9 Jun 2009 08:36:04 UTC

Severity: normal

Tags: moreinfo

Found in version coreutils/7.4-2

Forwarded to [email protected]

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Michael Stone <[email protected]>:
Bug#532413; Package coreutils. (Tue, 09 Jun 2009 08:36:07 GMT) (full text, mbox, link).


Acknowledgement sent to Arthur Marsh <[email protected]>:
New Bug report received and forwarded. Copy sent to Michael Stone <[email protected]>. (Tue, 09 Jun 2009 08:36:07 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Arthur Marsh <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: coreutils: cp fails on SMBFS mount due to error on EOPNOTSUPP
Date: Tue, 09 Jun 2009 18:05:09 +0930
Package: coreutils
Version: 7.4-2
Severity: normal


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.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-rc8 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages coreutils depends on:
ii  libacl1                       2.2.47-2   Access control list shared library
ii  libattr1                      1:2.4.43-2 Extended attribute shared library
ii  libc6                         2.9-13     GNU C Library: Shared libraries
ii  libselinux1                   2.0.71-1   SELinux shared libraries

coreutils recommends no packages.

coreutils suggests no packages.

-- debconf-show failed




Information forwarded to [email protected], Michael Stone <[email protected]>:
Bug#532413; Package coreutils. (Tue, 09 Jun 2009 08:51:07 GMT) (full text, mbox, link).


Acknowledgement sent to Arthur Marsh <[email protected]>:
Extra info received and forwarded to list. Copy sent to Michael Stone <[email protected]>. (Tue, 09 Jun 2009 08:51:07 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Arthur Marsh <[email protected]>
To: [email protected]
Cc: [email protected], [email protected]
Subject: coreutils: cp fails on SMBFS mount due to error on EOPNOTSUPP
Date: Tue, 09 Jun 2009 18:19:35 +0930
Package: coreutils
Version: 7.4-2
Severity: normal


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.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-rc8 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages coreutils depends on:
ii  libacl1                       2.2.47-2   Access control list shared 
library
ii  libattr1                      1:2.4.43-2 Extended attribute shared 
library
ii  libc6                         2.9-13     GNU C Library: Shared libraries
ii  libselinux1                   2.0.71-1   SELinux shared libraries

coreutils recommends no packages.

coreutils suggests no packages.

-- debconf-show failed




Reply sent to Arthur Marsh <[email protected]>:
You have marked Bug as forwarded. (Tue, 09 Jun 2009 08:51:09 GMT) (full text, mbox, link).


Information forwarded to [email protected], Michael Stone <[email protected]>:
Bug#532413; Package coreutils. (Sun, 10 Jul 2011 11:22:22 GMT) (full text, mbox, link).


Acknowledgement sent to Benoît Knecht <[email protected]>:
Extra info received and forwarded to list. Copy sent to Michael Stone <[email protected]>. (Sun, 10 Jul 2011 11:22:24 GMT) (full text, mbox, link).


Message #18 received at [email protected] (full text, mbox, reply):

From: Benoît Knecht <[email protected]>
To: [email protected]
Cc: Arthur Marsh <[email protected]>
Subject: Bug #532413: Is it still reproducible with newer coreutils?
Date: Sun, 10 Jul 2011 13:20:27 +0200
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.

-- 
Benoît Knecht




Added tag(s) moreinfo. Request was from Benoît Knecht <[email protected]> to [email protected]. (Sun, 10 Jul 2011 11:22:26 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:45:11 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.