Current time: 11-27-2024, 06:35 AM Hello There, Guest! (LoginRegister)


Post Reply 
ftp user bug?
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #12
RE: ftp user bug?
I can confirm. Debian squeeze 6.

Add Subdomain (sub.domain.com) and add ftp-user with home "sub" then I can upload but not delete files or folders.

When I take sub.domain.com.conf out of /etc/proftpd/ispcp and restart proftpd then it works again - so there are obviously some rules in this file which are not ok...

I did not explicitly test but it seems to work on lenny... - at least I did not read here... :-/

I'll try to find the block in the conf file which is disturbing...

Just wondering: why do we have blocks in this file for backups, errors, logs and statistics? - theese folders are only present in main domains - not in subdomains.
Domain aliases have errors and logs - but also not backups or statistics...

/J
Ok, I tracked it down... to this block:
Code:
<Directory /var/www/virtual/domain.com/sub/htdocs/*>
<Limit RMD RNTO DELE XRMD>
  AllowAll
</Limit>
</Directory>

if I comment the lin AllowAll then it works... - very strange!!!
But I still cannot delete htdocs itself....

So it seems we could simply reduce this file!


Could others also test?

/J
(This post was last modified: 06-10-2011 09:15 AM by joximu.)
06-10-2011 08:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
ftp user bug? - Haros - 05-23-2011, 06:07 AM
RE: ftp user bug? - Haros - 05-25-2011, 08:48 PM
RE: ftp user bug? - JCircle - 05-26-2011, 12:45 PM
RE: ftp user bug? - joximu - 05-26-2011, 06:32 PM
RE: ftp user bug? - Haros - 05-26-2011, 11:31 PM
RE: ftp user bug? - kilburn - 05-27-2011, 12:58 AM
RE: ftp user bug? - Haros - 05-27-2011, 03:04 AM
RE: ftp user bug? - kilburn - 05-27-2011, 04:21 AM
RE: ftp user bug? - Haros - 05-27-2011, 05:20 AM
RE: ftp user bug? - kilburn - 05-27-2011, 09:56 AM
RE: ftp user bug? - nightworm - 06-09-2011, 08:18 PM
RE: ftp user bug? - joximu - 06-10-2011 08:50 AM
RE: ftp user bug? - kilburn - 06-10-2011, 04:44 PM
RE: ftp user bug? - nightworm - 06-10-2011, 04:48 PM
RE: ftp user bug? - Haros - 06-10-2011, 10:38 PM
RE: ftp user bug? - joximu - 06-11-2011, 12:10 AM

Forum Jump:


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