How do I recursively execute
chown for hidden files?
sudo chmod -R 775 * does not work on hidden files.
The same thing goes for
sudo chown -R user:group.
migrated from stackoverflow.com Oct 12 '11 at 13:12
This question came from our site for professional and enthusiast programmers.
If you're okay also chmod'ing the current directory, do that and let
Read more about it in bash's
This will make
Disable it with:
Another option is to use
The only downside is that
All files in the current directory, recursively, including hidden files:
All files in the current directory, not recursively, including hidden files:
This will not change an exception filename starting with 2 dots, as example,
Also, be carefull not to remove the "x" bit, or else all your directories will not be accessible (one needs the x bit to cd into a dir).
Remember this alert: never use bare
To avoid problems setting permissions on directories, use