Reading Files on a CD/DVD-ROM without proper permissions
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Reading Files on a CD/DVD-ROM without proper permissions
Very simple problem really, perhaps someone has a simple fix:
I have many burned DVDs with AVI files that I burned using OS X and thus, I suppose, the files on them have Unix-style permissions. When I burned them I didn't much care about permissions because at the time I wasn't a Linux user.
Now I find that I can only read (play, copy, etc) files on these DVDs if the permissions are set to allow people other than the owner to read them - very, very few are.
I tried using the sudo cp command from the terminal to copy the files onto my hard drive using my own root status. This neither worked nor produced an error. Perhaps I did something wrong?
I also added nosuid to the cdrom entry of my fstab at the suggestion of someone on Ubuntu's forums. That didn't work either.
Perhaps I should just blame Apple for letting me burn a DVD with wacky permissions in OS X.
I'm new to Linux and Ubuntu but truly love Ubuntu so far(I'm running Edgy Eft), having used Red Hat, Mandriva, and Linspire in passing. Please, someone, is there simple way around this problem short of using a Windows box or a Mac to access the files?
Also tried the other suggestion, copying the files and running chmod. I can't do that because I don't have the permissions to copy the files in the first place.
What would happen if you added uid=<your uid> to the options in fstab? According to the man page for mount:
Code:
Mount options for iso9660
...
uid=value and gid=value
Give all files in the file system the indicated user or group
id, possibly overriding the information found in the Rock Ridge
extensions. (Default: uid=0,gid=0.)
Edited to add:
There's also a mode=value option listed in the man page, which can set permissions using octal values. Not tried either of these, because I've never needed to, but it may work.
"Also tried the other suggestion, copying the files and running chmod. I can't do that because I don't have the permissions to copy the files in the first place."
Thanks Robhogg, adding my UID and GID to the fstab entry for my DVD drive worked perfectly! I recommended that as an option for others in a similar situation.
As for my failed attempt to copy the files to my hard drive as root, perhaps I did something wrong there, being a newbie and all. . .I'll try that one again sometime to improve my Linux skills.
For now I'm grateful to have access to all my movies. Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.