I just copied a backup of several hundred folders from a CD in my /home/user direcorty. Originally, the folders themselves were 700 and the files within were all 644. However, on the CD the folders and the files are all 444 for some reason that I cannot fathom.
In order to correct the problem, I figured that I'd chmod everything to 644 and then chmod the folders to 700 like so:
Code:
chmod 644 -R *
chmod 700 *
However, that did not work because the folders got 644'ed first, and then I did not have write permissions to chmod the files! How can I get out of this mess?
Thanks in advance!