What I'm trying to do is create a ftp user that can update and modify files in an apache2 v2.4 (with www-data) web directory.
I have a single user: UserA (names changed to protect the guilty) The folder is /var/www/vhosts; chowned to www-data:www-data UserA has been addded to the www-data group. The UserA's home directory is set to /var/www/vhosts
I have ProFTPd setup and running. UserA connects fine.
The problem is ownership of the folders/files. all files are set to 644 as normal all folders are set to 755.
since UserA is not the owner, it falls under the group policies and files cannot be added, deleted, or modified because of the limitations.
Is there any way to masquerade UserA as www-data so they can perform the job?
Am I thinking of this the right way? is there another way to do it? Thanks The user connects via FTP to the web folder