Package: coreutils Version: 5.93-5 Severity: normal mounted partition is as follows:
lipn-sf4:/export/vol01/jcdubacq on /users/jcdubacq type nfs (rw,addr=10.10.0.14) Experimentation: [EMAIL PROTECTED]:~$ cd /tmp/ [EMAIL PROTECTED]:/tmp$ cp -p /etc/ssh/ssh_config . [EMAIL PROTECTED]:/tmp$ ls -l /etc/ssh/ssh_config ./ssh_config -rw-r--r-- 1 root root 1379 2005-09-16 11:41 /etc/ssh/ssh_config -rw-r--r-- 1 jcdubacq ocad 1379 2005-09-16 11:41 ./ssh_config [EMAIL PROTECTED]:/tmp$ cd ~ # NFS partition [EMAIL PROTECTED]:~$ cp -p /etc/ssh/ssh_config . [EMAIL PROTECTED]:~$ ls -l /etc/ssh/ssh_config ./ssh_config -rw-r--r-- 1 root root 1379 2005-09-16 11:41 /etc/ssh/ssh_config -rw-r--r-- 1 jcdubacq ocad 1379 2006-02-02 17:25 ./ssh_config [EMAIL PROTECTED]:~$ touch -r /etc/ssh/ssh_config ./ssh_config [EMAIL PROTECTED]:~$ ls -l /etc/ssh/ssh_config ./ssh_config -rw-r--r-- 1 root root 1379 2005-09-16 11:41 /etc/ssh/ssh_config -rw-r--r-- 1 jcdubacq ocad 1379 2005-09-16 11:41 ./ssh_config So touch -r works fine, but not cp -p. Things get weirder when doing straces: ----- strace for cp -p /etc/ssh/ssh_config . with . = NFS ----- [opening libs] geteuid32() = 383 stat64(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat64("/etc/ssh/ssh_config", {st_mode=S_IFREG|0644, st_size=1379, ...}) = 0 stat64("./ssh_config", {st_mode=S_IFREG|0644, st_size=1379, ...}) = 0 open("/etc/ssh/ssh_config", O_RDONLY|O_LARGEFILE) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1379, ...}) = 0 open("./ssh_config", O_WRONLY|O_TRUNC|O_LARGEFILE) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 fstat64(3, {st_mode=S_IFREG|0644, st_size=1379, ...}) = 0 read(3, "#\t$OpenBSD: ssh_config,v 1.20 20"..., 8192) = 1379 write(4, "#\t$OpenBSD: ssh_config,v 1.20 20"..., 1379) = 1379 read(3, "", 8192) = 0 utimes("/proc/self/fd/4", {1138897609, 0}) = 0 fchown32(4, 0, 0) = -1 EPERM (Operation not permitted) getxattr("/etc/ssh/ssh_config", "system.posix_acl_access", 0xbf8f0f00, 132) = -1 EOPNOTSUPP (Operation not supported) setxattr("./ssh_config", "system.posix_acl_access", "\x02\x00\x00\x00\x01\x00\x06\x00\xff\xff\xff\xff\x04\x00\x04\x00\xff\xff\xff\xff\x00\x04\x00\xff\xff\xff\xff", 28, 0) = -1 EOPNOTSUPP (Operation not supported) chmod("./ssh_config", 0100644) = 0 close(4) = 0 close(3) = 0 getxattr("/etc/ssh/ssh_config", "system.posix_acl_access", 0xbf8f4060, 132) = -1 EOPNOTSUPP (Operation not supported) setxattr("./ssh_config", "system.posix_acl_access", "\x02\x00\x00\x00\x01\x00\x06\x00\xff\xff\xff\xff\x04\x00\x04\x00\xff\xff\xff\xff\x00\x04\x00\xff\xff\xff\xff", 28, 0) = -1 EOPNOTSUPP (Operation not supported) chmod("./ssh_config", 0100644) = 0 close(1) = 0 exit_group(0) = ? ================================================================== Significant differences with same operation in /tmp (local FS) ---- diff ----- 160,161c160,161 < read(3, "", 4096) = 0 < utimes("/proc/self/fd/4", {1138897808, 0}) = 0 --- > read(3, "", 8192) = 0 > utimes("/proc/self/fd/4", {1138897814, 0}) = 0 163c163 < getxattr("/etc/ssh/ssh_config", "system.posix_acl_access", 0xbf99c300, 132) = -1 EOPNOTSUPP (Operation not supported) --- > getxattr("/etc/ssh/ssh_config", "system.posix_acl_access", 0xbf9e6cf0, > 132) = -1 EOPNOTSUPP (Operation not supported) 168c168 < getxattr("/etc/ssh/ssh_config", "system.posix_acl_access", 0xbf99e460, 132) = -1 EOPNOTSUPP (Operation not supported) --- > getxattr("/etc/ssh/ssh_config", "system.posix_acl_access", 0xbf9e9e50, > 132) = -1 EOPNOTSUPP (Operation not supported) ========= Remark that it may be related to the debian patches for ACL support. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.14-2-686 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages coreutils depends on: ii libacl1 2.2.34-1 Access control list shared library ii libc6 2.3.5-12 GNU C Library: Shared libraries an ii libselinux1 1.28-3 SELinux shared libraries coreutils recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]