Fred A. Miller wrote:
Juergen Braukmann wrote:
Fred A. Miller wrote:
Anyone know how to set the execute rights on a CD in fstab? The line in my fstab is currently: /dev/hdc /cdrom iso9660 ro/noauto/user 0 0.
Thanks!
Fred
Hello Fred,
The option "user" implies that user may mount a disk and therefor do nasty thigs to the system. Therefor, the option "noexec" that prohibits programm execution is aktive too.
I mounted the drive as root, and also changed "ro" in fstab to "exec." It still doesn't work. Where is the "noexec" setting hidden?
You can add "exec" to the list of options, or mount the cd manually as root umount /dev/hdc mount -t iso9660 /dev/hdc /cdrom
the mount options, if questions remain are well described in mounts man
Thanks,
Fred
Hello Fred, Taken from "man mount". user Allow an ordinary user to mount the file system. This option implies the options noexec, nosuid, and nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid). [probably my hinting add "exec" was not enough???? ;-)] ... dev Interpret character or block special devices on the file system. exec Permit execution of binaries. ... suid Allow set-user-identifier or set-group-iden tifier bits to take effect. I mount my cdrom's like that: /dev/scd1 /smb_cdrom iso9660 ro,user 0 0 none /proc proc defaults 0 0 /dev/scd0 /S.u.S.E. iso9660 ro 0 0 scd1 (free for samba use) may be mounted by everyone, scd0 root only. binarys on scd0 can be executed. Jürgen -- ========================================== __ _ Jürgen Braukmann e-mail: brauki@cww.de | / / (_)__ __ ____ __ Tel: 0201-743648 dk4jb@db0qs.#nrw.deu.eu | / /__/ / _ \/ // /\ \/ / ========================================== /____/_/_//_/\_,_/ /_/\_\ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e