Skip to content

Instantly share code, notes, and snippets.

@renshuki
Last active March 18, 2019 13:19
Show Gist options
  • Save renshuki/97c4dc2f7e30c245b0a590de948ff055 to your computer and use it in GitHub Desktop.
Save renshuki/97c4dc2f7e30c245b0a590de948ff055 to your computer and use it in GitHub Desktop.
Reset files and folders permissions
chown -R user:group
find directory_path -type d -exec chmod 775 {} \;
find directory_path -type f -exec chmod 664 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment