Proftpd: UserOwner and GroupOwner not working (can't chown)
Hi.
I have proftpd 1.3.1_rc2-rc3 up and running with an anonymous user tech (alias of ftp) with password. My objective is to have all files uploaded by tech chown to apache:apache because the ftp account will be used to host web pages (html , php). This is /etc/proftpd/proftpd.conf: Code:
ServerName "NG-001" Code:
# proftpd -nd9 Code:
noisebleed.localnet (10.17.1.19[10.17.1.19]) - chown(/Logo_Noisebleed_Oficial.png) as root failed: Operation not permitted Code:
USE="mysql ncurses nls opensslcrypt pam radius ssl tcpd -acl -authfile -clamav -hardened -ifsession -ipv6 -ldap -noauthunix -postgres -rewrite (-selinux) -shaper -sitemisc -softquota -vroot -xinetd" |
It may be easier to create the user tech and go that way or you may need something like;
Code:
<Anonymous ~ftp/sub/dir/> |
Hi. Thanks for helping.
The user tech is just an alias. When I use the ftp user as username the same error ("chown(/Logo_Noisebleed_Oficial.png) as root failed: Operation not permitted") occurs. Don't know why. Should I blame the mask? Code:
Umask 022 |
All times are GMT -5. The time now is 02:41 PM. |