On 2/4/07, Arnie Stender <[EMAIL PROTECTED]> wrote:

>         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.

I just did a "cp -a" of Xorg as root, which is suid, and it showed up
as suid in the copy. You would need the -a or -p or some other cp
option that maintains ownership and permissions.

--
Dan
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to