It seems this isn't a pure cp problem after all. The error only occurs
when copying to a filesystem mounted via SFTP. However, copying to a
mounted SFTP filesystem via rsync doesn't remove the SUID flag.
# lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
# apt-cache policy coreutils
coreutils:
Installed: 6.10-3ubuntu2
Candidate: 6.10-3ubuntu2
Version table:
*** 6.10-3ubuntu2 0
500 http://de.archive.ubuntu.com hardy/main Packages
100 /var/lib/dpkg/status
--
"cp -a" doesn't preserve setUID
https://bugs.launchpad.net/bugs/253263
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs