[Mondo-devel] Error when restoring files (suid and guid)
Brought to you by:
bcornec
|
From: Sebastian P. <col...@gm...> - 2010-10-11 10:29:19
|
Hi all, I have an issue when restoring files from a backup (NFS). The problem is very simple: Before restore: -rwsr-xr-x 1 root root 27768 Jul 17 2006 /usr/bin/passwd After restore: -rwxr-xr-x 1 root root 27768 Jul 17 2006 /usr/bin/passwd The suid has gone. Same happens with the guid bit set when restoring from tarballs. This behaviour is very unusual. If you made a tar from /bin for example, then when untar the file restore all perms including those that has been whipped out. Is this a bug or my mistake? Regards, Sebastian |