Skip to content

Instantly share code, notes, and snippets.

@BekNaji
Created August 30, 2022 11:16
Show Gist options
  • Save BekNaji/b50f9f2eefdccd8b33f394c53455b7a1 to your computer and use it in GitHub Desktop.
Save BekNaji/b50f9f2eefdccd8b33f394c53455b7a1 to your computer and use it in GitHub Desktop.
bitrix permissions of folders and files.txt
cd ~/www
find . -type d -exec chmod 775 {} \;
find . -type f -exec chmod 664 {} \;
find . -type d -exec chown bitrix:bitrix {} \;
find . -type f -exec chown bitrix:bitrix {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment