-4
votes
1answer
222 views

Chmod all files and directories recursively to 666 under /usr [duplicate]

I want to make an chmod command that's recursively will apply the privilegies to all directoris under that. Example: chmod 666 /usr I want that every directory under "/usr" turn into permissions to ...
0
votes
2answers
1k views

Change all file permissions to 644 and all folder permissions to 755 recursively

How to change all file permissions to 644 and all folder permissions to 755 recursively using chmod in the following two situation: If they had 777 permissions Regardless of the permission (with ANY ...
1
vote
2answers
596 views

revert chmod 777 / -R

while executing a command i made a mistake and executed (ubuntu 10) sudo chmod 777 / -R # okay you may laugh now all my filesystem has 777 permitions , obviously i dont know which ...
1
vote
5answers
2k views

How to change permissions on folders, but not files?

Is there a concise linux command (that will work on OSX) to change permissions on folders and all of their contents, but leave files in the current directory untouched? For example: ...