Check This Out
hellow there i have been working on a proftpd config
if worked out most of the probs but i got an error: Fatal. </Directory>: directive not allowed in <Limit> context i dunno whats up with that i also do not get the limit thing very well... here is my config, tell me about it, what is not good, how is it better te approach, etc... ------------------------------------------------------------------------------------------------------- #Serverinfo: ServerName "GUC's personal ftpserver on ProFtpD" ServerType standalone DefaultRoot /mnt/hdd #Explinations about the following settings can be found at #http://www.proftpd.org/doc/directive.../by-name.html: DefaultServer on DeferWelcome on ServerIdent off DeleteAbortedStores on HiddenStor on CDPath /mnt/hdd/ DisplayConnect /etc/ftpmessages/.connect DisplayLogin /etc/ftpmessages/.login DisplayQuit /etc/ftpmessages/.quit MaxClientsPerUser 5 MaxConnectionRate 3 MaxLoginAttempts 3 Port to listen to: Port 9876 # Umask 022 is a good standard umask to prevent new dirs and files # from being group and world writable. #Umask 022 # To prevent DoS attacks, set the maximum number = 30 MaxInstances 20 # The user and usergroup that the server runs at: User nobody Group nogroup #Loglocations: SystemLog /var/log/proftpd.log TransferLog /var/log/xferlog # DIRECTORY SETTINGS # <Directory /mnt/hdd/private> <Limit DenyGroup> ftpusers</Limit> </Directory> <Directory /mnt/hdd/lost+found> <Limit DenyGroup> ftpusers</Limit> <Limit WRITE DELE READ RMD LIST>denyall</Limit> </Directory> <Directory /mnt/hdd/ftp/upload/> <Limit>IgnoreHidden</Limit> <Limit DELE READ RMD>denyall</Limit> AllowStoreRestart </Directory> <Directory /mnt/hdd/ftp/download/> <Limit WRITE DELE MKD RMD>denyall</Limit> <Limit>IgnoreHidden</Limit> AllowRetrieveRestart </Directory> |
well one thing i see that is wrong is your ignorehidden
it should be added something like: <Limit ALL SITE_CHMOD> IgnoreHidden on </Limit> and i am not sure if it is case sensitive, but denyall may have to be typed DenyAll |
hmm what does ALL SITE_CHMOD mean ?
and i did what you told me to do and it still gives the same error, anyone else any idea ????? ------------------------------------------------------------------------------------------------------- #Serverinfo: ServerName "GUC's personal ftpserver on ProFtpD" ServerType standalone DefaultRoot /mnt/hdd #Explinations about the following settings can be found at #http://www.proftpd.org/doc/directive.../by-name.html: DefaultServer on DeferWelcome on ServerIdent off DeleteAbortedStores on HiddenStor on CDPath /mnt/hdd/ DisplayConnect /etc/ftpmessages/.connect DisplayLogin /etc/ftpmessages/.login DisplayQuit /etc/ftpmessages/.quit MaxClientsPerUser 5 MaxConnectionRate 3 MaxLoginAttempts 3 Port to listen to: Port 9876 # Umask 022 is a good standard umask to prevent new dirs and files # from being group and world writable. #Umask 022 # To prevent DoS attacks, set the maximum number = 30 MaxInstances 20 # The user and usergroup that the server runs at: User nobody Group nogroup #Loglocations: SystemLog /var/log/proftpd.log TransferLog /var/log/xferlog # DIRECTORY SETTINGS # <Directory /mnt/hdd/private> <Limit DenyGroup> ftpusers</Limit> </Directory> <Directory /mnt/hdd/lost+found> <Limit DenyGroup>ftpusers</Limit> <Limit WRITE DELE READ RMD LIST>DenyAll</Limit> </Directory> <Directory /mnt/hdd/ftp/upload/> <Limit ALL SITE_CHMOD> IgnoreHidden on</Limit> <Limit DELE READ RMD>DenyAll</Limit> AllowStoreRestart </Directory> <Directory /mnt/hdd/ftp/download/> <Limit WRITE DELE MKD RMD>DenyAll</Limit> <Limit ALL SITE_CHMOD> IgnoreHidden on</Limit> AllowRetrieveRestart </Directory> ------------------------------------------------- Is it possible you may only write one <Limit ></Limit> per <Directory></Directory> ?? If so how do i solve my restrictions i do now with 2 "limits" :scratch: thx in advance GUC :study: |
i'm still stuck can't anybody help ?
|
All times are GMT -5. The time now is 05:57 PM. |