LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   proftpd - dynamic UserOwner, GroupOwner directives? (https://www.linuxquestions.org/questions/linux-software-2/proftpd-dynamic-userowner-groupowner-directives-258516/)

mwo 11-23-2004 05:12 PM

proftpd - dynamic UserOwner, GroupOwner directives?
 
I need to configure my ftp server (ProFTPD v1.2.9 on Slackware) such that no matter who uploads a file, the owner and group assigned to the uploaded file match the owner and group of the directory that the file is being placed in. For example if I log in as "bob" as a member of "bobs_group", and I then cd over to "~charlie" and upload "somefile", I need the owner/group of "somefile" to be assigned as "charlie:charlies_group". Then if I cd over to "~bill" and upload a file, I need that file to be assigned the owner/group "bill:bills_group". There will be hundreds of directories so I do not want to make a UserOwner and GroupOwner entry for each directory explicitly, the configuration file would be hudge and I would spend my life keeping it current. Can anyone tell me another way to do this? Is there a way to do this with UserOwner and GroupOwner that I'm just not seeing?

mwo 11-24-2004 09:05 AM

^ bump


All times are GMT -5. The time now is 10:33 AM.