ProFTPd: PathDenyFilter doesn't work - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: ProFTPd: PathDenyFilter doesn't work (/thread-4623.html) |
ProFTPd: PathDenyFilter doesn't work - FeG - 10-06-2008 08:03 PM Hi all, I'm running ispCP RC6 on a dedicated server and have updated ispCP from RC2c on. I've found out, that the proftpd.conf hasn't been updated correctly on some upgrade so I've manually copied the current proftpd.conf from svn. Everything's working fine beside one thing: The setting Code: # But not to overwrite ispCP Standard directories. doesn't work. I can do the following using my FTP-Account: Code: ftp> rmdir cgi-bin I don't know what might cause this problem.. but maybe some of you know Regards FeG RE: ProFTPd: PathDenyFilter doesn't work - sci2tech - 10-07-2008 02:03 AM Code: ftp> rmdir cgi-bin But consider that one user have a cgi-bin (or more usual a logs dir) in other folder. Then he will be able to delete only with rmdir /path/to/folder/cgi-bin but not with cd /path/to/folder rmdir cgi-bin Use version that suit your need . Or wait until http://www.isp-control.net/ispcp/ticket/1080 is fixed. RE: ProFTPd: PathDenyFilter doesn't work - FeG - 10-07-2008 02:41 AM (10-07-2008 02:03 AM)sci2tech Wrote: If you try rmdir /cgi-bin it wont work because regexp expect that first character is /. If you drop this character it wont work rmdir cgi-bin but it will work rmdir /cgi-bin. if you put a ? after / (PathDenyFilter "^/?(backups| ) none of this will work. You're right, rmdir /cgi-bin is not allowed, but then why is this filter in the current code? ... @ticket 1080 : I thought beside of subdomains this was already included Quote:03/31/08 09:23:37 changed by rats So anyway, thanks for your response this isn't really important for me, so I'll wait for another/a better solution... Regards FeG |