This question already has an answer here:
I have a Linux Debian machine that I own (root access).
I would like to create a new user called "testuser" and give him the right to view, edit and delete files from only one specific folder located in
I do not mind if the user can see which other files exist in
/var/www/html/ (or anywhere else). But the user definitely can only view, edit and delete the files contained in the folder
The user ("testuser") isn't created yet.
How do I perform this action?
The user will access the machine only over FTP.