'n abend.
Karsten Rothemund <[EMAIL PROTECTED]> wrote:
>>> "SB" == Stefan Blechschmidt <[EMAIL PROTECTED]> writes:
>SB> Die "exec" Option ist so weit ich wei� in "defaults" enthalten.
>
> Glaube ich nicht (oder war damals explizit ausgeschlossen - kann auch
> sein). Ich musste es jedenfalls extra angeben (und das Posting des
> Urposters klingt ja auch danach)
Gegen glauben hilft nachlesen (mount(8)):
| defaults
| Use default options: rw, suid, dev, exec,
| auto, nouser, and async.
aber:
| 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).
Man beachte den Klammersatz, nach dem es auf die Reihenfolge ankommt.
>SB> Man muss lediglich die Optionen f�r das CD-ROM zus�tzlich angeben.
>SB> Das Ganze ist aber bereits erledigt siehe /etc/fstab, zumindestens wird
>SB> es bei einer Potato Installation schon vorgegeben.
>SB> ,-------------------------------------------------------------
>SB> | /dev/cdrom /cdrom iso9660 defaults,ro,user,noauto 0 0
>SB> `-------------------------------------------------------------
Dieses Dateisystem sollte also letztendlich `noexec' gemountet werden,
wogegen ein nachgestelltes `,exec' in "fs_mntops" (vgl. fstab(5)) wirken
sollte.
Noch etwas aus mount(8):
| The full set of options used by an invocation of mount is
| determined by first extracting the options for the file
| system from the fstab table, then applying any options
| specified by the -o argument, and finally applying a -r or
| -w option, when present.
Hoffe, die Frage "Wieso geht das nur auf der Kommandozeile aber nicht
in der fstab" etwas aufgehellt zu haben. Details wie immer den manual
pages zu entnehmen.
Gru� Sonny
--
:wq