On Mon, 28 Jun 1999, Jean-Louis Debert wrote:
> Newly installed Venus (Mandrake 6.0) on a clean partition.
> Almost everything seems to be okay so far.
>
> BUT ... I configured /etc/fstab with a line like this:
>
> /dev/scd0 /cd iso9660 user,noauto,mode=444,ro 0 0
>
> The "mode=444" is because I want to be able to browse the insides of
> RPM's
> and for some reason the extfs in mc does not like the exec bit (it tries
> then
> to execute the rpm !!!).
>
> Well the CDROM is mounted okay, and I see the contents, but ALL files in
> it
> have permission xx-xxxx-- (674) when I mount a JOLIET cdrom (I made
> it
> at work with a Windows software).
> So it would seem that mount doesn't honor the mode=444 (at least not
> with
> Joliet CDROMs).
> I also check that if you give the option manually on the mount command,
> it's the same, the option is not honored.
>
>
> Any idea ??
>
> --
> Jean-Louis Debert [EMAIL PROTECTED]
> 74 Annemasse France
> old Linux fan
>
mode= is not a valid option on either vat or iso9660 filesystems (check
the manpage), however you can use the noexec option to achieve the results
your looking for.