uname -a
lsb_release -a
top
#change folders/files ownership
chown -R www-data:www-data /var/www/html
#change files permissions recursive
chmod -R 755 /var/www/cache
#correctly adding folders and flies permissions
sudo find . -type d -exec chmod 755 {} \;
sudo find . -type f -exec chmod 644 {} \;
Last active
March 7, 2021 15:11
-
-
Save sen0rxol0/39a56ccbffc82cd069bbb25892458a85 to your computer and use it in GitHub Desktop.
Linux sys admininstration tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment