A
A
Alexander2018-02-09 16:51:51
linux
Alexander, 2018-02-09 16:51:51

Linux folder permissions?

The folder has ALL permissions for the owner, ALL permissions for the Group, and Read and Execute only for the Others.

spoiler
5a7da708a51d8089908879.png

There is a user "alterak", which is a member of the "alterak" group, and this group is also assigned to the specified folder.
spoiler
5a7da762dd465132486297.png
Why doesn't user "alterak" have write access?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Victor Taran, 2018-02-09
@shambler81

As far as I can see it's a web server, and you're right about all but one.
And why did you decide that the web server is running on your behalf?
And even more so is in your group 7
If debian
if centos, in general, decide for yourself look at top
chown -R httpd:httpd /var/www/upstim.ru

A
Alexander Semenenko, 2018-02-09
@semenenko88

show the results of the commands:
$ ls -l /folder path
$ id alterak
$ touch /folder path/test.txt

S
Saboteur, 2018-02-10
@saboteur_kiev

1. Did you restart the web server? When changing /etc/groups, this does not apply to already running processes.
2. log in as alterak and execute id - should show which groups it belongs to.
It would be nice if, instead of screenshots, just the console log showed what you are trying to do.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question