P
P
Pavel2020-07-15 16:59:14
ubuntu
Pavel, 2020-07-15 16:59:14

Why can't a user edit a file even if they are in a group?

I do LAMP, I do commands

chown -R www-data.www-data /var/www/laravel
chmod -R 755 /var/www/laravel
chmod -R 777 /var/www/laravel/storage

but now I can’t make changes to files via ftp\sftp, I added myself to the www-data group,
sudo usermod -aG www-data user
but I still can’t edit
file permissions,
k4biHe0.png

what am I doing wrong?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-07-15
@mrusklon

Did you re-login after joining the group?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question