restored a backup and can't su to root now

Dan Nicholson dbn.lists at
Sun Feb 4 10:35:02 PST 2007

On 2/4/07, Arnie Stender <astender at> 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.


More information about the blfs-support mailing list