Skip to content

Instantly share code, notes, and snippets.

@BekNaji
Created March 18, 2025 06:03
Show Gist options
  • Save BekNaji/ae37ab1596e2cda3f3b69a79592f8c5a to your computer and use it in GitHub Desktop.
Save BekNaji/ae37ab1596e2cda3f3b69a79592f8c5a to your computer and use it in GitHub Desktop.
Default directory permissions in bitrix
go site folder and run this command with root
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