File permsissions for some backup files saved onto cd
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.
File permsissions for some backup files saved onto cd
Hi, I saved some work I had done onto a cdrom. Although I cannot write over it because the file permissions are -r--r--r-- instead of drwxr-xr-x. How do I change the files with -r--r--r-- to drwxr-xr-x?
Note: I got the -r--r--r-- files from a cd that I used to back those up.
If the files exist on a CD-ROM, you aren't going to be able to change them because the CD is write-once. My recommendation would be to copy the files to a temporary directory on your hard drive, chmod the permissions, then reburn them to a new CD. -- J.W.
Thanks! That worked, but..do I really have to do one file at a time? It isn't a big deal, but sort of a hassle to have to do that to every file. And I don't think I could do it to a directory because the directory gives me all the permissions I need (drwxr-xr-x)...
I think I could just cd to the directory, then do dir. Copy the files and chmod 751 paste the files. But are there any other ways ? Or is that the best?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.