Arnie Stender wrote these words on 02/04/07 12:21 CST: > I don't have time right now to test tar and cpio but I do know for sure > a straight cp of an SUID file does NOT produce an SUID copy of the file, > even if done as root.
Um, Arnie, the thread started with someone saying that they are using cp -dpR (cp -a). And the SUID bit *is* copied across: [EMAIL PROTECTED]: /home/randy > ls -l su ls: su: No such file or directory [EMAIL PROTECTED]: /home/randy > cp -a /bin/su . [EMAIL PROTECTED]: /home/randy > ls -l su -rwsr-xr-x 1 root root 21940 Mar 25 2006 su -- Randy rmlscsi: [bogomips 1003.26] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3] [GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686] 12:33:00 up 25 days, 12:47, 1 user, load average: 0.04, 0.08, 0.25 -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
