banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Forum Index Thảo luận hệ điều hành *nix VSFTPD: 550 remove directory operation failed  XML
  [Question]   VSFTPD: 550 remove directory operation failed 21/03/2013 08:13:26 (+0700) | #1 | 274258
centos
Member

[Minus]    0    [Plus]
Joined: 28/03/2008 17:13:12
Messages: 219
Offline
[Profile] [PM]
Mình đang cài vsftpd trên centos 6.2, nhưng gặp một lỗi là khi mình xoá thư mục thì nó báo là "550 remove directory operation failed". Mặc dù mình có thể rename, hoặc tạo thư mục được nhưng không thể xoá được thư mục. Mong mọi người xem giúp

File cấu hình của mình như sau:


listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=002
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
ftpd_banner=Welcome to FTP service
xferlog_std_format=YES
xferlog_file=/var/log/vsftpd.log
ascii_upload_enable=YES
ascii_download_enable=YES
passwd_chroot_enable=yes
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=NO
chroot_local_user=YES
chown_uploads=YES
pasv_enable=YES
pasv_min_port=20000
pasv_max_port=20999
log_ftp_protocol=YES
use_localtime=YES
 


Cám ơn mọi người
[Up] [Print Copy]
  [Question]   VSFTPD: 550 remove directory operation failed 21/03/2013 08:54:27 (+0700) | #2 | 274261
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
Đưa mỗi nội dung file config thôi là chưa đủ.

Với thông báo trên, bạn thử kiểm tra lại xem ftp user có quyền như nào trên thư mục đó?

Mỗi khi gặp lỗi trên Linux, bạn nên:
- mở log ra xem có gì
- nếu log không đủ chi tiết thì tăng verbosity level lên
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   VSFTPD: 550 remove directory operation failed 21/03/2013 09:17:17 (+0700) | #3 | 274262
centos
Member

[Minus]    0    [Plus]
Joined: 28/03/2008 17:13:12
Messages: 219
Offline
[Profile] [PM]

quanta wrote:
Đưa mỗi nội dung file config thôi là chưa đủ.

Với thông báo trên, bạn thử kiểm tra lại xem ftp user có quyền như nào trên thư mục đó?

Mỗi khi gặp lỗi trên Linux, bạn nên:
- mở log ra xem có gì
- nếu log không đủ chi tiết thì tăng verbosity level lên 



Thanks quanta đã reply, Log của vsftpd:

Thu Mar 21 10:11:29 2013 [pid 19703] [web360do] FTP command: Client "116.118.112.160", "PASV"
Thu Mar 21 10:11:29 2013 [pid 19703] [web360do] FTP response: Client "116.118.112.160", "227 Entering Passive Mode (192,168,1,252,81,161)."
Thu Mar 21 10:11:29 2013 [pid 19703] [web360do] FTP command: Client "116.118.112.160", "LIST"
Thu Mar 21 10:11:29 2013 [pid 19703] [web360do] FTP response: Client "116.118.112.160", "150 Here comes the directory listing."
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP response: Client "116.118.112.160", "226 Directory send OK."
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP command: Client "116.118.112.160", "CWD /public_html/logs"
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP response: Client "116.118.112.160", "250 Directory successfully changed."
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP command: Client "116.118.112.160", "RMD voting_logs"
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP response: Client "116.118.112.160", "550 Remove directory operation failed."
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FAIL RMDIR: Client "116.118.112.160", "/public_html/logs/voting_logs"
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP command: Client "116.118.112.160", "CWD /public_html"
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP response: Client "116.118.112.160", "250 Directory successfully changed."
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP command: Client "116.118.112.160", "RMD logs"
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP response: Client "116.118.112.160", "550 Remove directory operation failed."
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FAIL RMDIR: Client "116.118.112.160", "/public_html/logs"
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP command: Client "116.118.112.160", "PASV"
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP response: Client "116.118.112.160", "227 Entering Passive Mode (192,168,1,252,81,50)."
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP command: Client "116.118.112.160", "LIST"
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP response: Client "116.118.112.160", "150 Here comes the directory listing."
Thu Mar 21 10:11:30 2013 [pid 19703] [web360do] FTP response: Client "116.118.112.160", "226 Directory send OK."

 


Quyền thư mục thì đã có đủ hết (775), User có thể rename được thư mục của mình. nhưng riêng xoá là không được thôi.

thanks
[Up] [Print Copy]
  [Question]   VSFTPD: 550 remove directory operation failed 21/03/2013 09:56:09 (+0700) | #4 | 274265
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
Xác định PID của child process mà user đang ftp:
Code:
quanta   30316 30314  0 10:51 ?        00:00:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf

Chạy `strace`:
Code:
strace -e trace=all -p 30316 -o /home/quanta/vsftpd.strace

Sau đó thử xoá thư mục, rồi quay lại terminal xem `vsftpd.strace` có gì.
Let's build on a great foundation!
[Up] [Print Copy]
  [Question]   VSFTPD: 550 remove directory operation failed 21/03/2013 10:23:26 (+0700) | #5 | 274267
centos
Member

[Minus]    0    [Plus]
Joined: 28/03/2008 17:13:12
Messages: 219
Offline
[Profile] [PM]
Nội dung mình strace ra như sau

quanta wrote:

Chạy `strace`:
Code:
strace -e trace=all -p 30316 -o /home/quanta/vsftpd.strace

Sau đó thử xoá thư mục, rồi quay lại terminal xem `vsftpd.strace` có gì. 



"CWD logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 10
read(0, "CWD logs\r\n", 10) = 10
chdir("logs") = 0
getcwd("/public_html/logs", 4096) = 18
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 197
recvfrom(0, "PWD\r\n", 4096, MSG_PEEK, NULL, NULL) = 5
read(0, "PWD\r\n", 5) = 5
getcwd("/public_html/logs", 4096) = 18
write(0, "257 \"/public_html/logs\"\r\n", 25) = 25
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PASV\r\n", 4096, MSG_PEEK, NULL, NULL) = 6
read(0, "PASV\r\n", 6) = 6
write(5, "\n", 1) = 1
read(5, "\1", 1) = 1
write(5, "\f", 1) = 1
read(5, "\325Q\0\0", 4) = 4
write(0, "227 Entering Passive Mode (192,1"..., 51) = 51
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "LIST\r\n", 4096, MSG_PEEK, NULL, NULL) = 6
read(0, "LIST\r\n", 6) = 6
write(5, "\v", 1) = 1
read(5, "\1\0\0\0", 4) = 4
open(".", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
write(5, "\v", 1) = 1
read(5, "\1\0\0\0", 4) = 4
write(5, "\v", 1) = 1
read(5, "\1\0\0\0", 4) = 4
write(5, "\r", 1) = 1
read(5, "\1", 1) = 1
recvmsg(5, {msg_name(0)=NULL, msg_iov(1)=[{"\0", 1}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {6}}, msg_flags=0}, 0) = 1
setsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
setsockopt(6, SOL_IP, IP_TOS, [8], 4) = 0
setsockopt(6, SOL_SOCKET, SO_LINGER, {onoff=1, linger=32767}, 8) = 0
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
write(0, "150 Here comes the directory lis"..., 39) = 39
getdents(4, /* 8 entries */, 32768) = 240
lstat("voting_logs", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("error_logs", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("data_logs", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("ip_logs", {st_mode=S_IFDIR|0775, st_size=32768, ...}) = 0
lstat("ref_logs", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("dump_backup", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
getdents(4, /* 0 entries */, 32768) = 0
write(6, "drwxrwxr-x 2 504 504 "..., 404) = 404
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
close(6) = 0
alarm(0) = 300
write(0, "226 Directory send OK.\r\n", 24) = 24
close(4) = 0
write(5, "\n", 1) = 1
read(5, "\1", 1) = 1
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 0
recvfrom(0, "CWD data_logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 15
read(0, "CWD data_logs\r\n", 15) = 15
chdir("data_logs") = 0
getcwd("/public_html/logs/data_logs", 4096) = 28
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PWD\r\n", 4096, MSG_PEEK, NULL, NULL) = 5
read(0, "PWD\r\n", 5) = 5
getcwd("/public_html/logs/data_logs", 4096) = 28
write(0, "257 \"/public_html/logs/data_logs"..., 35) = 35
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD /public_html/logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 23
read(0, "CWD /public_html/logs\r\n", 23) = 23
chdir("/public_html/logs") = 0
getcwd("/public_html/logs", 4096) = 18
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PWD\r\n", 4096, MSG_PEEK, NULL, NULL) = 5
read(0, "PWD\r\n", 5) = 5
getcwd("/public_html/logs", 4096) = 18
write(0, "257 \"/public_html/logs\"\r\n", 25) = 25
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "RMD data_logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 15
read(0, "RMD data_logs\r\n", 15) = 15
getcwd("/public_html/logs", 4096) = 18
rmdir("data_logs") = -1 ENOTEMPTY (Directory not empty)
write(0, "550 Remove directory operation f"..., 40) = 40
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD dump_backup\r\n", 4096, MSG_PEEK, NULL, NULL) = 17
read(0, "CWD dump_backup\r\n", 17) = 17
chdir("dump_backup") = 0
getcwd("/public_html/logs/dump_backup", 4096) = 30
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PWD\r\n", 4096, MSG_PEEK, NULL, NULL) = 5
read(0, "PWD\r\n", 5) = 5
getcwd("/public_html/logs/dump_backup", 4096) = 30
write(0, "257 \"/public_html/logs/dump_back"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD /public_html/logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 23
read(0, "CWD /public_html/logs\r\n", 23) = 23
chdir("/public_html/logs") = 0
getcwd("/public_html/logs", 4096) = 18
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "RMD dump_backup\r\n", 4096, MSG_PEEK, NULL, NULL) = 17
read(0, "RMD dump_backup\r\n", 17) = 17
getcwd("/public_html/logs", 4096) = 18
rmdir("dump_backup") = -1 ENOTEMPTY (Directory not empty)
write(0, "550 Remove directory operation f"..., 40) = 40
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD error_logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 16
read(0, "CWD error_logs\r\n", 16) = 16
chdir("error_logs") = 0
getcwd("/public_html/logs/error_logs", 4096) = 29
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PWD\r\n", 4096, MSG_PEEK, NULL, NULL) = 5
read(0, "PWD\r\n", 5) = 5
getcwd("/public_html/logs/error_logs", 4096) = 29
write(0, "257 \"/public_html/logs/error_log"..., 36) = 36
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PASV\r\n", 4096, MSG_PEEK, NULL, NULL) = 6
read(0, "PASV\r\n", 6) = 6
write(5, "\n", 1) = 1
read(5, "\1", 1) = 1
write(5, "\f", 1) = 1
read(5, "\202N\0\0", 4) = 4
write(0, "227 Entering Passive Mode (192,1"..., 51) = 51
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "LIST\r\n", 4096, MSG_PEEK, NULL, NULL) = 6
read(0, "LIST\r\n", 6) = 6
write(5, "\v", 1) = 1
read(5, "\1\0\0\0", 4) = 4
open(".", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
write(5, "\v", 1) = 1
read(5, "\1\0\0\0", 4) = 4
write(5, "\v", 1) = 1
read(5, "\1\0\0\0", 4) = 4
write(5, "\r", 1) = 1
read(5, "\1", 1) = 1
recvmsg(5, {msg_name(0)=NULL, msg_iov(1)=[{"\0", 1}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {6}}, msg_flags=0}, 0) = 1
setsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
setsockopt(6, SOL_IP, IP_TOS, [8], 4) = 0
setsockopt(6, SOL_SOCKET, SO_LINGER, {onoff=1, linger=32767}, 8) = 0
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
write(0, "150 Here comes the directory lis"..., 39) = 39
getdents(4, /* 6 entries */, 32768) = 160
lstat("old", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("errors256", {st_mode=S_IFDIR|0775, st_size=40960, ...}) = 0
lstat("tmp", {st_mode=S_IFDIR|0775, st_size=53248, ...}) = 0
getdents(4, /* 0 entries */, 32768) = 0
write(6, "drwxrwxr-x 2 504 504 "..., 189) = 189
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
close(6) = 0
alarm(0) = 300
write(0, "226 Directory send OK.\r\n", 24) = 24
close(4) = 0
write(5, "\n", 1) = 1
read(5, "\1", 1) = 1
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 0
recvfrom(0, "CWD errors256\r\n", 4096, MSG_PEEK, NULL, NULL) = 15
read(0, "CWD errors256\r\n", 15) = 15
chdir("errors256") = 0
getcwd("/public_html/logs/error_logs/errors256", 4096) = 39
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PWD\r\n", 4096, MSG_PEEK, NULL, NULL) = 5
read(0, "PWD\r\n", 5) = 5
getcwd("/public_html/logs/error_logs/errors256", 4096) = 39
write(0, "257 \"/public_html/logs/error_log"..., 46) = 46
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD /public_html/logs/error_logs"..., 4096, MSG_PEEK, NULL, NULL) = 34
read(0, "CWD /public_html/logs/error_logs"..., 34) = 34
chdir("/public_html/logs/error_logs") = 0
getcwd("/public_html/logs/error_logs", 4096) = 29
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PWD\r\n", 4096, MSG_PEEK, NULL, NULL) = 5
read(0, "PWD\r\n", 5) = 5
getcwd("/public_html/logs/error_logs", 4096) = 29
write(0, "257 \"/public_html/logs/error_log"..., 36) = 36
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "RMD errors256\r\n", 4096, MSG_PEEK, NULL, NULL) = 15
read(0, "RMD errors256\r\n", 15) = 15
getcwd("/public_html/logs/error_logs", 4096) = 29
rmdir("errors256") = -1 ENOTEMPTY (Directory not empty)
write(0, "550 Remove directory operation f"..., 40) = 40
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD old\r\n", 4096, MSG_PEEK, NULL, NULL) = 9
read(0, "CWD old\r\n", 9) = 9
chdir("old") = 0
getcwd("/public_html/logs/error_logs/old", 4096) = 33
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PWD\r\n", 4096, MSG_PEEK, NULL, NULL) = 5
read(0, "PWD\r\n", 5) = 5
getcwd("/public_html/logs/error_logs/old", 4096) = 33
write(0, "257 \"/public_html/logs/error_log"..., 40) = 40
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD /public_html/logs/error_logs"..., 4096, MSG_PEEK, NULL, NULL) = 34
read(0, "CWD /public_html/logs/error_logs"..., 34) = 34
chdir("/public_html/logs/error_logs") = 0
getcwd("/public_html/logs/error_logs", 4096) = 29
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "RMD old\r\n", 4096, MSG_PEEK, NULL, NULL) = 9
read(0, "RMD old\r\n", 9) = 9
getcwd("/public_html/logs/error_logs", 4096) = 29
rmdir("old") = -1 ENOTEMPTY (Directory not empty)
write(0, "550 Remove directory operation f"..., 40) = 40
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD tmp\r\n", 4096, MSG_PEEK, NULL, NULL) = 9
read(0, "CWD tmp\r\n", 9) = 9
chdir("tmp") = 0
getcwd("/public_html/logs/error_logs/tmp", 4096) = 33
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PWD\r\n", 4096, MSG_PEEK, NULL, NULL) = 5
read(0, "PWD\r\n", 5) = 5
getcwd("/public_html/logs/error_logs/tmp", 4096) = 33
write(0, "257 \"/public_html/logs/error_log"..., 40) = 40
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD /public_html/logs/error_logs"..., 4096, MSG_PEEK, NULL, NULL) = 34
read(0, "CWD /public_html/logs/error_logs"..., 34) = 34
chdir("/public_html/logs/error_logs") = 0
getcwd("/public_html/logs/error_logs", 4096) = 29
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "RMD tmp\r\n", 4096, MSG_PEEK, NULL, NULL) = 9
read(0, "RMD tmp\r\n", 9) = 9
getcwd("/public_html/logs/error_logs", 4096) = 29
rmdir("tmp") = -1 ENOTEMPTY (Directory not empty)
write(0, "550 Remove directory operation f"..., 40) = 40
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD /public_html/logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 23
read(0, "CWD /public_html/logs\r\n", 23) = 23
chdir("/public_html/logs") = 0
getcwd("/public_html/logs", 4096) = 18
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "RMD error_logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 16
read(0, "RMD error_logs\r\n", 16) = 16
getcwd("/public_html/logs", 4096) = 18
rmdir("error_logs") = -1 ENOTEMPTY (Directory not empty)
write(0, "550 Remove directory operation f"..., 40) = 40
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD ip_logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 13
read(0, "CWD ip_logs\r\n", 13) = 13
chdir("ip_logs") = 0
getcwd("/public_html/logs/ip_logs", 4096) = 26
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PWD\r\n", 4096, MSG_PEEK, NULL, NULL) = 5
read(0, "PWD\r\n", 5) = 5
getcwd("/public_html/logs/ip_logs", 4096) = 26
write(0, "257 \"/public_html/logs/ip_logs\"\r"..., 33) = 33
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD /public_html/logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 23
read(0, "CWD /public_html/logs\r\n", 23) = 23
chdir("/public_html/logs") = 0
getcwd("/public_html/logs", 4096) = 18
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "RMD ip_logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 13
read(0, "RMD ip_logs\r\n", 13) = 13
getcwd("/public_html/logs", 4096) = 18
rmdir("ip_logs") = -1 ENOTEMPTY (Directory not empty)
write(0, "550 Remove directory operation f"..., 40) = 40
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD ref_logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 14
read(0, "CWD ref_logs\r\n", 14) = 14
chdir("ref_logs") = 0
getcwd("/public_html/logs/ref_logs", 4096) = 27
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PWD\r\n", 4096, MSG_PEEK, NULL, NULL) = 5
read(0, "PWD\r\n", 5) = 5
getcwd("/public_html/logs/ref_logs", 4096) = 27
write(0, "257 \"/public_html/logs/ref_logs\""..., 34) = 34
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD /public_html/logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 23
read(0, "CWD /public_html/logs\r\n", 23) = 23
chdir("/public_html/logs") = 0
getcwd("/public_html/logs", 4096) = 18
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "RMD ref_logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 14
read(0, "RMD ref_logs\r\n", 14) = 14
getcwd("/public_html/logs", 4096) = 18
rmdir("ref_logs") = -1 ENOTEMPTY (Directory not empty)
write(0, "550 Remove directory operation f"..., 40) = 40
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD voting_logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 17
read(0, "CWD voting_logs\r\n", 17) = 17
chdir("voting_logs") = 0
getcwd("/public_html/logs/voting_logs", 4096) = 30
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PWD\r\n", 4096, MSG_PEEK, NULL, NULL) = 5
read(0, "PWD\r\n", 5) = 5
getcwd("/public_html/logs/voting_logs", 4096) = 30
write(0, "257 \"/public_html/logs/voting_lo"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD /public_html/logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 23
read(0, "CWD /public_html/logs\r\n", 23) = 23
chdir("/public_html/logs") = 0
getcwd("/public_html/logs", 4096) = 18
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "RMD voting_logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 17
read(0, "RMD voting_logs\r\n", 17) = 17
getcwd("/public_html/logs", 4096) = 18
rmdir("voting_logs") = -1 ENOTEMPTY (Directory not empty)
write(0, "550 Remove directory operation f"..., 40) = 40
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "CWD /public_html\r\n", 4096, MSG_PEEK, NULL, NULL) = 18
read(0, "CWD /public_html\r\n", 18) = 18
chdir("/public_html") = 0
getcwd("/public_html", 4096) = 13
write(0, "250 Directory successfully chang"..., 37) = 37
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "RMD logs\r\n", 4096, MSG_PEEK, NULL, NULL) = 10
read(0, "RMD logs\r\n", 10) = 10
getcwd("/public_html", 4096) = 13
rmdir("logs") = -1 ENOTEMPTY (Directory not empty)
write(0, "550 Remove directory operation f"..., 40) = 40
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "PASV\r\n", 4096, MSG_PEEK, NULL, NULL) = 6
read(0, "PASV\r\n", 6) = 6
write(5, "\n", 1) = 1
read(5, "\1", 1) = 1
write(5, "\f", 1) = 1
read(5, "cN\0\0", 4) = 4
write(0, "227 Entering Passive Mode (192,1"..., 50) = 50
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
recvfrom(0, "LIST\r\n", 4096, MSG_PEEK, NULL, NULL) = 6
read(0, "LIST\r\n", 6) = 6
write(5, "\v", 1) = 1
read(5, "\1\0\0\0", 4) = 4
open(".", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
write(5, "\v", 1) = 1
read(5, "\1\0\0\0", 4) = 4
write(5, "\v", 1) = 1
read(5, "\1\0\0\0", 4) = 4
write(5, "\r", 1) = 1
read(5, "\1", 1) = 1
recvmsg(5, {msg_name(0)=NULL, msg_iov(1)=[{"\0", 1}], msg_controllen=24, {cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, {6}}, msg_flags=0}, 0) = 1
setsockopt(6, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
setsockopt(6, SOL_IP, IP_TOS, [8], 4) = 0
setsockopt(6, SOL_SOCKET, SO_LINGER, {onoff=1, linger=32767}, 8) = 0
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
write(0, "150 Here comes the directory lis"..., 39) = 39
getdents(4, /* 32 entries */, 32768) = 976
lstat("web.config", {st_mode=S_IFREG|0664, st_size=128, ...}) = 0
lstat("stats", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("modules", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("cache", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("files", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("admin", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("themes", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("robots.txt", {st_mode=S_IFREG|0664, st_size=338, ...}) = 0
lstat("mainfile.php", {st_mode=S_IFREG|0664, st_size=19821, ...}) = 0
lstat("robots.php", {st_mode=S_IFREG|0664, st_size=2344, ...}) = 0
lstat("config.php", {st_mode=S_IFREG|0644, st_size=549, ...}) = 0
lstat("uploads", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("images", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("logs", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("includes", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("LICENSE.txt", {st_mode=S_IFREG|0664, st_size=17816, ...}) = 0
lstat("CJzip.php", {st_mode=S_IFREG|0664, st_size=7236, ...}) = 0
lstat("install", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("language", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("favicon.ico", {st_mode=S_IFREG|0664, st_size=1150, ...}) = 0
lstat("data", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("js", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("editors", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("index.php", {st_mode=S_IFREG|0664, st_size=8716, ...}) = 0
lstat("tmp", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("sess", {st_mode=S_IFDIR|0775, st_size=167936, ...}) = 0
getdents(4, /* 0 entries */, 32768) = 0
write(6, "-rw-rw-r-- 1 504 504 "..., 1693) = 1693
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 300
close(6) = 0
alarm(0) = 300
write(0, "226 Directory send OK.\r\n", 24) = 24
close(4) = 0
write(5, "\n", 1) = 1
read(5, "\1", 1) = 1
rt_sigaction(SIGALRM, {0x7f48ee2cc400, ~[RTMIN RT_1], SA_RESTORER, 0x7f48ed098920}, NULL, 8) = 0
alarm(300) = 0
recvfrom(0, [root@webhosting ~]#
 
[Up] [Print Copy]
  [Question]   VSFTPD: 550 remove directory operation failed 21/03/2013 10:49:05 (+0700) | #6 | 274268
[Avatar]
quanta
Moderator

Joined: 28/07/2006 14:44:21
Messages: 7265
Location: $ locate `whoami`
Offline
[Profile] [PM]
rmdir("data_logs") = -1 ENOTEMPTY (Directory not empty)
write(0, "550 Remove directory operation f"..., 40) = 40  
Let's build on a great foundation!
[Up] [Print Copy]
[digg] [delicious] [google] [yahoo] [technorati] [reddit] [stumbleupon]
Go to: 
 Users currently in here 
1 Anonymous

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|