Skip to content

Instantly share code, notes, and snippets.

@aamaanaa
Created October 27, 2022 12:03
Show Gist options
  • Save aamaanaa/20a55dcf98b094583196c662b03f7bbe to your computer and use it in GitHub Desktop.
Save aamaanaa/20a55dcf98b094583196c662b03f7bbe to your computer and use it in GitHub Desktop.
Linux write access to /var/www/html/project
You will need to add you user to the 'apache' group first. Log out afhter you have done that.
$ sudo mkdir /var/www/html/project
$ sudo chown -R $USER:apache /var/www/html/project
$ sudo chmod -R 775 /var/www/html/project
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment