Current time: 11-26-2024, 08:00 AM Hello There, Guest! (LoginRegister)


Post Reply 
ProFTPd: PathDenyFilter doesn't work
Author Message
FeG Offline
Banned

Posts: 222
Joined: Aug 2007
Post: #3
RE: ProFTPd: PathDenyFilter doesn't work
(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.
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 Smile . Or wait until http://www.isp-control.net/ispcp/ticket/1080 is fixed.

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

* milestone changed from ispCP ω 1.0.0 - RC5 to ispCP ω 1.0.0.

Cube's fix will be in r1089. For subdomains -> moved to another release

So anyway, thanks for your response Smile this isn't really important for me, so I'll wait for another/a better solution...

Regards
FeG
10-07-2008 02:41 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
ProFTPd: PathDenyFilter doesn't work - FeG - 10-06-2008, 08:03 PM
RE: ProFTPd: PathDenyFilter doesn't work - FeG - 10-07-2008 02:41 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)