S
S
SoloMidPlzD2017-03-02 11:33:42
Nginx
SoloMidPlzD, 2017-03-02 11:33:42

Set write permissions for www-data + dummy_user?

there is root (by which you cannot enter) and std. user. dummy_user
The problem is that if www-data creates a file, dummy_user can't write to it and can do the opposite.
I even tried to make a folder 777, it did not help. Folder owner - dummy_user.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Goryachev, 2017-03-02
@SoloMidPlzD

sudo adduser dummy_user <имя_группы>
group_name is most likely www-data, like the www-data user
in general, you need to make them members of the same group

E
Evgeny Merkushev, 2017-03-02
@byMerk

Add them to one group and give this group rights to the folder with files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question