Last active
October 8, 2021 09:11
-
-
Save sukhikh18/2ab01b121aa9ce2e3760cde33f24cebb to your computer and use it in GitHub Desktop.
Задать владельца папки и установить права пользователей на директорию и файлы #Linux
This file contains 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
cd /var/www/public/ | |
chown -R www-data:www-data . | |
find . -type d -exec chmod 775 {} \; | |
find . -type f -exec chmod 664 {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment