hi @all, i am about to build my own rescue cd. I build my iso with the following command: mkisofs -o /tmp/RESCUE.iso -b isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -l -R -r . after buning the iso on cd I can boot my rescue system. unfortunately, i have figured out that there are some files with a lack of permissions e.g. I have a bin/su in the tree for the iso with the following permission settings: -rwsr-xr-x 1 root root 91469 Oct 12 10:50 /ROOT_DIR/bin/su after checking the file when the cd has booted: -rw-rw-rw 1 root root 91469 Oct 12 10:55 /bin/su so, the suid-bit has gone! can someone please tell me where it is gone :-))) And what to do to solve this problem? tia elmar bschorer -- _/ _/ _/ _/ _/ _/ _/ _/ | | _/ _/ _/_/ _/ _/ _/ _/_/ | Elmar Bschorer | _/ _/ _/ _/_/ _/ _/ _/_/ | www.lux21.org | _/_/_/ _/ _/ _/ _/_/_/ _/ _/ | |
elmar bschorer wrote:> hi @all, > > i am about to build my own rescue cd. > I build my iso with the following command: > > mkisofs -o /tmp/RESCUE.iso -b isolinux/isolinux.bin -no-emul-boot > -boot-load-size 4 -boot-info-table -l -R -r . > > after buning the iso on cd I can boot my rescue system. > unfortunately, i have figured out that there are some files with a lack > of permissions e.g. I have a bin/su in the tree for the iso with the > following permission settings: > -rwsr-xr-x 1 root root 91469 Oct 12 10:50 /ROOT_DIR/bin/su > > after checking the file when the cd has booted: > > -rw-rw-rw 1 root root 91469 Oct 12 10:55 /bin/su > > so, the suid-bit has gone! can someone please tell me where it is gone > :-))) And what to do to solve this problem? >It's because you specified -r. -R and -r are mutually exclusive; -R means preserve permissions and -r means strip them... -hpa
Maybe Matching Threads
- [Fwd: copy/deleting a file gives error "Can not read from source file or disk"]
- proc-37, installing 10gR2 CRS. /ocfs/ocr_disk1 is on FS type 1952539503. Not supported.
- proc-37, installing 10gR2 CRS. /ocfs/ocr_disk1 is on FS type 1952539503. Not supported.
- mkisofs /proc/kcore error
- Some minor refactoring of Oggdrop build environment