group and permissions in linux for apache
Posted on 2013-12-31
We are having an CRM application still the development is in progress we would like to restrict the crm developer with ftp access to the /var/www/html/sugar_1 hence created user account as sugar_1 and home directory is in /var/www/html/sugar_1 and shared the ftp login details also used vsftpd and jailed to home directory, now the application requires the user to be apache and also read , write and execute permission whenever the developer uploads developed code then it is being uploaded as ftp login user name
Please suggest how to handle this, how to add apache user become user/owner for the files uploaded by the ftp user.
Please suggest thanks in advance