[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: [LI] CDROM file Permissions
On Wed, Dec 29, 1999 at 12:04:21AM +0530, Joseph Bill wrote:
> Whenever I mount any CDROMs, I seem to notice that all files
> have execute permission. This includes non-binary text files.
> Why does it happen? Can it be prevented?
This will happen for non-RockRidge CD-ROMs (such as any Windows CD
ROM, for instance).
The bare bones format of CD-ROMS is called ISO9660, which doesnt
support a lot of things like long filenames, etc. So there are
extensions. MS uses their own - called Joliet - and the rest of
the world uses "RockRidge", which allows you to have sym links,
real Unix permissions, etc.
Add a "mode=0444" to your mount line (or in the /etc/fstab file).
This should do it. In fact, that is the default, so you probably
have an existing mode= line in /etc/fstab that you may as well
remove.
If this is happening on a Linux CD (RockRidge) then there is
something else wrong.
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.