Skip to content

Instantly share code, notes, and snippets.

@GoodnessEzeokafor
Last active October 12, 2020 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GoodnessEzeokafor/c89218ca7cafc7f645d0b28bd6c2c046 to your computer and use it in GitHub Desktop.
Save GoodnessEzeokafor/c89218ca7cafc7f645d0b28bd6c2c046 to your computer and use it in GitHub Desktop.
Adding Permission to a folder in python
  • $ sudo groupadd varwwwusers
  • $ sudo adduser www-data varwwwusers
  • $ sudo chgrp -R varwwwusers /var/www/media/
  • $ sudo chmod -R 770 /var/www/media/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment