Re: [Proftpd-user] Configuring for Anonymous FTP

Matus UHLAR - fantomas <[email protected]> Sat, 3 Apr 2021 16:49:52 +0200
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
On 03.04.21 09:39, Dennis Putnam wrote:
>I am trying to configure proftpd to allow anonymous uploads (CentOS 
>7). I am able to login using 'anonymous' and can see the 'pub' and 
>'uploads' directories. I also can 'cd' into 'uploads'. I think I have 
>either ownership or permissions wrong on the 'uploads' directory but I 
>cannot find any place that says what to set them to. I tried various 
>things after initially getting the error "permission denied" from the 
>client on 'put'. However, my current settings result in "operation not 
>permitted" from the client. Can someone tell me what to do to correct 
>this? TIA.
>
>This is my current directory settings:
>
>|$ ls -lR /var/ftp /var/ftp: total 8 drwxr-xr-x 2 root root 4096 Apr 1 
>14:37 pub drwxrwxr-x 2 ftp ftp 4096 Mar 28 15:19 uploads /var/ftp/pub: 
>total 0 /var/ftp/uploads: total 0 |

looks like your mailer is bad with line wrapping.

>I am using the default proftpd.conf except I specify the anon root as 
>/var/ftp/pub. I am not running Selinux.

if you specify anon root as /var/ftp/pub, then anonymous clients can NOT get
into /var/ftp/uploads.

you most specify anonymous root as /var/ftp and user/group directives should
be 'ftp' for proper permissions to use.

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
2B|!2B, that's a question!


_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html