Security Settings...
Hi there
I was given certain files with a security setting which I think meant that they weren't allowed to be modified...the way to remove these restrictions for all files is with the command: chmod 0644 * I have done this many times and it worked each time...however, unfortunately I made the mistake of typing chmod 0644 * into the directory above the one that I meant to...whenever I try to go into a subdirectory I am told things like: access to <suchandsuchdirectory> denied or permission denied.. So my question is: how do I undo whatever security settings I put into place when I used the command: chmod 0644 * ? Any advice is appreciated Andrew |
If you are looking to reset the contents of that directory
$ chmod 0755 * This will set everything back to executable, however this includes all files that may be in that directory $ find . -type d -exec /bin/chmod 0755 '{}' \; This will set all directories (and sub directories) back to 0755 from the current directory. Navigate to where the change happened and run this should correct any errors. |
All times are GMT -5. The time now is 07:14 PM. |