Topic: Automatic Chown

I'm wondering how I can automatically chown uploaded files to something other than user:user when creating a new file or updating an existing file?

Ideally, I would be able to use variables like:

<user USERNAME>
chown USERNAME:mygroup
</user>

Re: Automatic Chown

Hi,

Changing owner of file need root rights... so you have to do a script that check on sftp-server.log (by default in /var/log) new file uploaded and then do chown smile