Current time: 11-16-2024, 01:25 PM Hello There, Guest! (LoginRegister)


Post Reply 
ProFTPd: PathDenyFilter doesn't work
Author Message
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #2
RE: ProFTPd: PathDenyFilter doesn't work
Code:
ftp> rmdir cgi-bin
250 RMD command successful
ftp> mkdir cgi-bin
257 "/cgi-bin" - Directory successfully created
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.
(This post was last modified: 10-07-2008 02:04 AM by sci2tech.)
10-07-2008 02:03 AM
Visit this user's website 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 - sci2tech - 10-07-2008 02:03 AM

Forum Jump:


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