LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   proftpd chown as root failed (http://www.linuxquestions.org/questions/linux-software-2/proftpd-chown-as-root-failed-293833/)

john8675309 02-23-2005 08:15 AM

proftpd chown as root failed
 
Has anyone ever had this error in proftpd:
Chown() as root failed.

My Situation is I have a user that is a member of the webedit group and he is not the owner of the file so when he uploads I need the file's owner to change. So In proftpd my configuration looks like this:


ServerName "ProFTPD Default Installation"
ServerType standalone
#ServerType inetd
DefaultServer on
Port 21
Umask 002
MaxInstances 30
User nobody
Group nogroup
SystemLog /var/log/proftpd.log
TransferLog /var/log/xferlog
DefaultRoot ~
UseReverseDNS off
DefaultTransferMode binary

# Normally, we want files to be overwriteable.
<Directory /*>
AllowOverwrite on
GroupOwner webedit
UserOwner djhass
<Limit SITE_CHMOD>
AllowUser matt
AllowUser root
AllowGroup webedit
</Limit>
<Limit ALL>
AllowUser matt
AllowGroup webedit
</Limit>
</Directory>

I assune it has something to do with the GroupOwner Directive and the UserOwner Directive. Any help I could be given would be apperciated.

the_mk 12-06-2005 04:52 PM

cat >> /etc/proftpd/proftpd.conf << "EOF"
<IfModule mod_cap.c>
CapabilitiesEngine off
</IfModule>
EOF




works fine ;)

the_mk 12-06-2005 04:53 PM

I can't post original post

(I still haven't got 5 posts)


All times are GMT -5. The time now is 09:56 PM.