Created
September 3, 2018 09:12
-
-
Save camilajenny/3214a50992ac9007ce61fb92ecde91b9 to your computer and use it in GitHub Desktop.
chmod so that others have all permissions to all files recursively
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type d -exec chmod 777 {} \; | |
find . -type f -exec chmod 666 {} \; | |
find . -type f -executable -exec chmod 777 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo chown -R --from=2345 1000 /
if your old UID is 2345 and the new one is 1000