[syslinux] no suidbits after building the iso!

H. Peter Anvin hpa at zytor.com
Sat Mar 6 11:43:28 PST 2004

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


More information about the Syslinux mailing list