lundi 5 janvier 2015

Set group ownership on FTP upload via an ACL


I am interested in setting an ACL which will chown all the files I upload through FTP to the www-data group.


However, after performing



chown -R user:www-data /var/www/http://ift.tt/14qj6Gu
setfacl -dRm g:www-data:rwx /var/www/http://ift.tt/13TU1T4


every file that I upload through the FTP isn't assigned to the www-data group but assigns the files to the user who uploaded the files.


What command should I be entering?



Aucun commentaire:

Enregistrer un commentaire