Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99131

Is there a way to not have to change access permission in /var/www/ on ubuntu every time?

$
0
0

I am working on Apache2 OctoberCMS projects in the /var/www directory on Ubuntu, and every time I start a new project, or create a new file/ folder in there, I have to ensure I have permissions by running:

sudo chmod -R g+rwx *folderName*
sudo chmod -R g+s *folderName*

My user has been added to the www-data group and the directories are set to www-data:www-data.

Is there a way to not have to run those commands every time?


Viewing all articles
Browse latest Browse all 99131

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>