T
T
tordroid2019-02-27 15:31:09
linux
tordroid, 2019-02-27 15:31:09

How to give a user extended rights to a folder?

Hey!
I have a /var/www directory in which sites are stored, each under its own user and group
dr-x-----x test:test test.ru
dr-x-----x test1:test1 test1.ru
dr -x-----x test2:test2 test2.ru The
task was to create a user who would have 777 for all objects inside /var/www - both existing and created in the future.
I tried to do it with acl, but I can't achieve this behavior.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2019-02-27
@ky0

Create a group that your user would be a member of, make it chgrp in /var/wwwand issue rwx rights.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question