Package: coreutils
Version: 5.97-5
Severity: important

using a cp -rP on a directory that contains entris with acl's mangles the 
normal 
file access permissions in the copy, acl's are copied correctly though.

in the following example the set group id bit is incorrectly set in the copy.

source:
$ ls -l
total 88
drwxrwxr-x+  2 aschultz src 4096 Oct  8 15:04 bin
drwxrwxr-x+  2 aschultz src 4096 Oct  8 14:28 dev
drwxrwxr-x+ 11 aschultz src 4096 Oct  8 14:53 etc

$ getfacl etc
# file: etc
# owner: aschultz
# group: src
user::rwx
group::rwx
group:devel:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:devel:rwx
default:mask::rwx
default:other::r-x

copy:
$ ls -l
total 88
drwxrwsr-x+  2 aschultz src 4096 Oct  8 15:50 bin
drwxrwsr-x+  2 aschultz src 4096 Oct  8 15:50 dev
drwxrwsr-x+ 11 aschultz src 4096 Oct  8 15:50 etc

$ getfacl etc/
# file: etc
# owner: aschultz
# group: src
user::rwx
group::rwx
group:devel:rwx
mask::rwx
other::r-x
default:user::rwx
default:group::rwx
default:group:devel:rwx
default:mask::rwx
default:other::r-x

Andreas

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (50, 'edgy'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages coreutils depends on:
ii  libacl1                      2.2.41-1    Access control list shared library
ii  libc6                        2.3.6.ds1-5 GNU C Library: Shared libraries
ii  libselinux1                  1.30.28-2   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]

Reply via email to