Current time: 11-15-2024, 07:22 AM Hello There, Guest! (LoginRegister)


Post Reply 
Ftp problem
Author Message
scoutsniper Offline
Junior Member
*

Posts: 95
Joined: Jul 2007
Reputation: -3
Post: #1
Ftp problem
From 3 days ftp makes big problem look this logs from ftp client:
[14.11.2007 г. 23:10:01] CWD /htdocs
[14.11.2007 г. 23:10:01] 250 CWD command successful
STATUS:> [14.11.2007 г. 23:10:01] PWD skipped. Current folder: "/htdocs".
COMMAND:> [14.11.2007 г. 23:10:01] RMD torrents
[14.11.2007 г. 23:10:01] 550 torrents: Directory not empty
ERROR:> [14.11.2007 г. 23:10:01] Requested action not taken (e.g., file or directory not found, no access).

It strange because the folder is still there... Proftp problem big...
11-14-2007 07:13 AM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #2
RE: Ftp problem
you do use fastcgi, don't you?

I only knew this problems for mod_php things, because the files the webapp creates don't belong to the ftp user... But with fastcgi this should not be....

Have you done an ls -laR and checked for files that don't belong to the user your connecting with?
11-14-2007 07:44 AM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: Ftp problem
Are there any Logentry´s in the ProfFTPD Logs ?
If not we need to Debug it.

Greez BeNe
11-14-2007 05:19 PM
Visit this user's website Find all posts by this user Quote this message in a reply
scoutsniper Offline
Junior Member
*

Posts: 95
Joined: Jul 2007
Reputation: -3
Post: #4
RE: Ftp problem
There are no bugs in /var/log/proftpd/ and i use fastcgi
11-14-2007 08:35 PM
Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #5
RE: Ftp problem
what about the ls -laR?
11-14-2007 08:37 PM
Visit this user's website Find all posts by this user Quote this message in a reply
scoutsniper Offline
Junior Member
*

Posts: 95
Joined: Jul 2007
Reputation: -3
Post: #6
RE: Ftp problem
This shell command return VERY big answer.. if u want it i can copy here or...
11-14-2007 08:48 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #7
RE: Ftp problem
Maybe only the important part... where the permissions are not ok... :-)

or make azip and put it here as a attachment...

/J

PS: you run the command not from / - you should run it in /var/www/virtual/<domain>/htdocs...
(This post was last modified: 11-14-2007 08:53 PM by joximu.)
11-14-2007 08:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #8
RE: Ftp problem
make ls -laR | grep -v "vu2xxx"
this should filter out the files with the right permissions...
11-14-2007 09:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #9
RE: Ftp problem
replace the xxx with the right number :-)
11-14-2007 10:11 PM
Visit this user's website Find all posts by this user Quote this message in a reply
rbtux Offline
Moderator
*****
Moderators

Posts: 1,847
Joined: Feb 2007
Reputation: 33
Post: #10
RE: Ftp problem
Really? You must be joking Wink
11-14-2007 10:13 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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