Skip to content

Instantly share code, notes, and snippets.

@sukhikh18
Last active October 8, 2021 09:11
Show Gist options
  • Save sukhikh18/2ab01b121aa9ce2e3760cde33f24cebb to your computer and use it in GitHub Desktop.
Save sukhikh18/2ab01b121aa9ce2e3760cde33f24cebb to your computer and use it in GitHub Desktop.
Задать владельца папки и установить права пользователей на директорию и файлы #Linux
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