You are not logged in.

#1 2006-12-02 14:22:36

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

vsftpd: own uploaded files by $user:www

Hello.
I am about to remove the standard configuration of my vserver and replace it with the configuration I like.

But concerning vsftpd I have a problem:
I've created some users and allowed them to use the ftp with vsftpd.chroot_list.
All fine with that but if I upload a file, it is owned by $user:users. I want it to be owned by $user:www instead. How can I achieve this?

I overflew the manual page but didn't find any option that changes the group the file is owned by. Maybe I have to edit the $user's group?

Thanks for your reply.
harlekin


Hail to the thief!

Offline

#2 2006-12-04 16:53:36

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: vsftpd: own uploaded files by $user:www

How about 'chgrp www' and 'chmod g+s' on directories they upload into?

Offline

Board footer

Powered by FluxBB