I am trying to use Apache to access the file on my documents folder.
I tried the following:
sudo chown -r www-data: www-data / home / $ user / public_html sudo adduser $ USER www-data pseudo chmod- R 775 / home / $ USER / public_html
As suggested by this post:
Although it works, I can not edit it now or The only solution to work in the form of a user (without the use of sudo
), despite being a member of the www-data group, the only solution to work in
Using chmod-R 777
(which is not me In fact).
All that I had to do is restart the OS and it was sorted!
No comments:
Post a Comment