Sample Header Ad - 728x90

pure ftpd : how to set owner on files uploaded

3 votes
1 answer
2897 views
I have a debian with pure ftpd installed with virtual users. I used the documentation for my setup so the local account of pure ftpd is ftpuser:ftpgroup When a user uploads a file, the file is owned by ftpuser:ftpgroup. I want the uploaded file to be owned by another system user (mylocaluser). I added my virtual user this way : pure-pw useradd uploadimages -u mylocaluser -d /var/www/mysite/current/images
Asked by Jérémie (133 rep)
Aug 23, 2012, 12:41 PM
Last activity: Mar 18, 2019, 03:09 AM