Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
New User/Group for New Website on ubuntu
It makes sense to me, much better than doing what I see advocated here (DO forums) a lot.
make all the websites www-data/www-data..
This is better than root but all the websites can access each others files. So I wanted a new group and user for each website. The websites are php CMS sites.
So the main issue I get is the folders are not accessible when I set the owner and group to
I don’t think the folder permissions are wrong at this point because when I set it to www-data:www-data I have working sites.
Thanks I am thinking there might be some step missing that gives mynewgroup the right access in the tutorial it seems like I just create the group but I feel I need to specify some rights for this group?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×