Link to home
Start Free TrialLog in
Avatar of themrrobert
themrrobertFlag for United States of America

asked on

How to make Fedora mount CD's and Keep READ/Exec Attribs?

Whenever I mount a cd in fedora 13, if I run ls -lh on the cd this is the result:

$ls -lh /media/cdrom
total 457M
-rw-r--r--. 1  502 games   48 Jun 23  2008 autorun.inf
dr-xr-xr-x. 1 root root  2.0K Jun 23  2008 directx
-rw-r--r--. 1  502 games  54K Jun 23  2008 disc.ico
-rwx------. 1  502 games 1.2M Jun 23  2008 installer.exe
-rwx------. 1  502 games 456M Jun 23  2008 installer tome.mpq

Open in new window


Notice that there are no bits set for users. (or groups for that matter), on the exe files.

This means I cant run them with wine. How do I mount and allow the files to be read/executed?

PS: I tried adding umask=000 and umask=222 to the mount options, but without success.

Please help. (also, if you have another idea of how to change the umask I'll hear it)

ASKER CERTIFIED SOLUTION
Avatar of Pieter Jordaan
Pieter Jordaan
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of themrrobert

ASKER

Sounds like you are on to something, but this cd is a Factory Pressed cd. There is nothing I can do to change it. It is not a burned cd, so rewriting it isnt going to solve the problem. Its iso9660 why can't I force it mounted readable?

The only solution I see is to run wine as root, and this is not the best solution I am sure.

Copy the contents to your local drive, then change the ownership.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Alright, thanks BitFreeze, as soon as i read your first post, it occured to me as well that it was in may be in unix format, not windows. I misinterpreted 502 and didn't realise it was the user, although I should have. thanks, I will copy the data :)

It's a pleasure.