Re: [Proftpd-user] 530-Unable to set anonymous privileges
Muhammad Bashir Al-Noimi <[email protected]>
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
On 09/19/2018 12:52 PM, Matus UHLAR - fantomas wrote: > please use plaintext mail for mailing list communication when possible. Oops, Thunderbird suppose to send two versions of this message (plain & rich rext)... sorry. > > On 19.09.18 11:23, Muhammad Bashir Al-Noimi wrote: >> I read the archive about this issue and I tried all the mentioned tricks >> but unfortunately I didn't find the proper solution for this issue. >> I only >> want to run my server simply without security complications just a >> plain >> FTP. >> >> Whenever I connect through FileZilla I get this error message: > > >> Status: Disconnected from server >> Status: Connecting to 192.168.1.7:21... >> Status: Connection established, waiting for welcome message... >> Response: 220 My FTP Server >> Command: USER rama >> Response: 331 Password required for rama >> Command: PASS ********* >> Response: 530-Unable to set anonymous privileges. >> Response: 530 Login incorrect. >> Error: Critical error: Could not connect to server > >> <Anonymous /media/mbnoimi/Media> >> User rama >> Group rama > > does user rama with group rama have access to /media/mbnoimi/Media ? I modified the group of the user "rama" to "mbnoimi" but I get same result. Below you can find the needed details: /media/mbnoimi/Media $ stat . File: . Size: 4096 Blocks: 8 IO Block: 4096 directory Device: 821h/2081d Inode: 2 Links: 7 Access: (0777/drwxrwxrwx) Uid: ( 1000/ mbnoimi) Gid: ( 1000/ mbnoimi) Access: 2018-09-21 14:55:16.617729882 +0300 Modify: 2018-09-20 13:29:53.414854900 +0300 Change: 2018-09-20 13:29:53.414854900 +0300 Birth: - /media/mbnoimi/Media $ id rama uid=1001(rama) gid=1000(mbnoimi) groups=1000(mbnoimi),46(plugdev),108(netdev),128(sambashare) > >> AnonRequirePassword on >> MaxClients 10 "The server is full, hosting %m users" >> DisplayLogin welcome.msg >> DisplayChdir .msg >> <Limit LOGIN> >> Allow from All >> Deny from all >> </Limit> > > deny from all? remove this first and recheck. Nothing changed :-( ServerType standalone DefaultServer on Umask 022 ServerName "0.0.0.0" ServerIdent on "My FTP Server" ServerAdmin [email protected] IdentLookups off UseReverseDNS off Port 21 PassivePorts 49152 65534 #MasqueradeAddress None TimesGMT off MaxInstances 30 MaxLoginAttempts 3 TimeoutLogin 300 TimeoutNoTransfer 120 TimeoutIdle 120 DisplayLogin welcome.msg DisplayChdir .message User nobody Group nobody DirFakeUser off nobody DirFakeGroup off nobody DefaultTransferMode binary AllowForeignAddress off AllowRetrieveRestart on AllowStoreRestart on DeleteAbortedStores off TransferRate RETR 220 TransferRate STOR 250 TransferRate STOU 250 TransferRate APPE 250 SystemLog /var/log/secure RequireValidShell off <IfModule mod_tls.c> TLSEngine off TLSRequired off TLSVerifyClient off TLSProtocol SSLv23 TLSLog /var/log/proftpd_tls.log TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem TLSRenegotiate required off TLSOptions AllowClientRenegotiation </IfModule> <IfModule mod_ratio.c> Ratios off SaveRatios off RatioFile "/restricted/proftpd_ratios" RatioTempFile "/restricted/proftpd_ratios_temp" CwdRatioMsg "Please upload first!" FileRatioErrMsg "FileRatio limit exceeded, upload something first..." ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..." LeechRatioMsg "Your ratio is unlimited." </IfModule> <Limit LOGIN> AllowUser rama DenyALL </Limit> <Anonymous /media/mbnoimi/Media> User rama Group mbnoimi AnonRequirePassword off MaxClients 10 "The server is full, hosting %m users" DisplayLogin welcome.msg DisplayChdir .msg <Limit LOGIN> Allow from All </Limit> AllowOverwrite off <Limit LIST NLST RETR PWD XPWD SIZE STAT CWD XCWD CDUP XCUP > AllowAll </Limit> <Limit STOR STOU APPE RNFR RNTO DELE MKD XMKD SITE_MKDIR RMD XRMD SITE_RMDIR SITE SITE_CHMOD SITE_CHGRP MTDM > DenyAll </Limit> </Anonymous> -- Best Regards, Muhammad Bashir Al-Noimi Skype+Telegram+GMail: mbnoimi _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html