Answer the question
In order to leave comments, you need to log in
How to give a user full rights to several programs and directories?
OS - Debian 8
Added the user TestUser, created a directory for him in the /home/ directory
Made him the owner chown -R TestUser /home/TestUser/
You also need to give permission to edit files in the /var/www/*/*
directory Since the /var/www directory belongs to the www- user and group data - chown -R www-data:www-data /var/www/
Added a user to this group as well gpasswd -a TestUser www-data
But I can't do anything in this directory under this user
How can I give full rights to this user (users) over this directory
And also access to use nginx and mysql services
Answer the question
In order to leave comments, you need to log in
You also need to give permission to edit files in the directory.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question