LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   proftpd.conf UserOwner doesn't work (https://www.linuxquestions.org/questions/linux-newbie-8/proftpd-conf-userowner-doesnt-work-697717/)

yang_wayne 01-16-2009 10:06 AM

proftpd.conf UserOwner doesn't work
 
Code:

ServerName        "ProFTPD"
ServerType        standalone
DefaultServer        on
Port            21
Umask 002
MaxInstances        30
User            nobody

<Directory /opt/lampp/>
  AllowOverwrite      on
GroupOwner root
UserOwner nobody
</Directory>


DefaultRoot /opt
UserPassword nobody ChiIf5sp0L4Sk
RequireValidShell off

UseFtpUsers off

As code, for uploaded file, userowner should be nobody, but it is under my account.

Please help.

Thanks,

Lisa

yang_wayne 01-16-2009 03:21 PM

I found the solution:
http://forums.proftpd.org/smf/index....ic,1207.0.html
My guess is that you're running proftpd on Linux, and are encountering mod_cap's abilities:

http://www.castaglia.org/proftpd/modules/mod_cap.html

To test this theory, you might try adding the following to your proftpd.conf:

<IfModule mod_cap.c>
CapabilitiesEngine off
</IfModule>

IT WORKS NOW!!!!


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