You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
darkalchemy edited this page Nov 11, 2018
·
1 revision
I do not set any folder or file to 777.
In order that I, as a user, can edit files, while still allowing www-data to add, edit, delete files, I add my user to www-data and vice-versa. Modify below to fit your needs.
sudo usermod -a -G www-data $USER
sudo usermod -a -G $USER www-data
After doing this, you need to log out and then back in. Then I set ownership of website path. From the Pu-239 path.
sudo chown -R $USER:www-data ../Pu-239/
Then, I run set_perms.php to set the remaining permissions correctly.