F
F
Friend2021-07-10 21:51:27
ubuntu
Friend, 2021-07-10 21:51:27

How to give phpstorm write permissions to the project folder?

in the home folder with the project, I had to make the owner www-data so that nginx could work safely with this folder.
But then there were problems. Various file managers and ide no longer have write permissions to this folder, which is very inconvenient.

Here are the commands I ran earlier:

sudo chown www-data:www-data /home/friend/bitrix/b001.loc -R
sudo usermod -a -G www-data $USER
sudo chmod ug+rwx /home/friend/bitrix /b001.loc/

And how can I make sure that the rest also have full rights to this folder, because everything is in my home folder. You can do whatever you want there.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2021-07-10
@ky0

In vain you set the owner www-data, it is enough to add her group. And leave yourself as the owner (well, or from whom everything starts for you there).
chown username:www-data

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question