We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
How to add permissions to webroot
-
- Posts: 1
- Joined: Wed Aug 10, 2016 3:13 pm
How to add permissions to webroot
Hello everyone, i would like to know how do i add permission outside the web-root where the public_html resides
example below.
cgi-bin
document_errors
MYFOLDER <<< needs all access 0777
public_html
etc...
example below.
cgi-bin
document_errors
MYFOLDER <<< needs all access 0777
public_html
etc...
Re: How to add permissions to webroot
Code: Select all
sudo chown -R :www-data /var/www # make sure the folder is owned by group www-data
sudo chmod g+w /var/www # grant write permission to group www-data on /var/www
sudo adduser NEWUSER www-data # add NEWUSER to group www-data with write permissions in /var/www