Hello,
I've created a folder /var/www/vhosts/*domain*/httpdocs/upload and a ftp user with this path as root folder.
Now I need a second ftp user with read only permission to this folder. All files and folders have the permission 755 or 644, so the group psacln have read only permissions.
I already created a new user with useradd(ubuntu) in group psacln and changed the root folder in /etc/passwd. But the ftp login failed with "incorrect login". If i change the userid in /etc/passwd to the userid of the first ftp user the login works but the user is able to change all documents.
I hope anyone can help me to solve my problem.
I've created a folder /var/www/vhosts/*domain*/httpdocs/upload and a ftp user with this path as root folder.
Now I need a second ftp user with read only permission to this folder. All files and folders have the permission 755 or 644, so the group psacln have read only permissions.
I already created a new user with useradd(ubuntu) in group psacln and changed the root folder in /etc/passwd. But the ftp login failed with "incorrect login". If i change the userid in /etc/passwd to the userid of the first ftp user the login works but the user is able to change all documents.
I hope anyone can help me to solve my problem.