FTP 550 Permission denied 只能建檔案夾,沒法刪除及上傳檔案的原因說明

來源:互聯網
上載者:User

出現這種問題,
①首先檢查使用者對應的角色名稱,然後看路徑設定是否正確,有沒有相關的許可權,如果這些都沒問題,然後就嘗試下面的操作:
②重起FTP服務,最好從服務裡面重啟(不能根本解決);
③重新設定Server-U帳號和目錄訪問裡的檔案路徑(如果還不行,嘗試下面操作);
④刪除使用者,重建立。

原創 SU整理(FTP)收藏
整理如下:

1開頭-成功
2開頭-成功
3開頭-許可權問題
4開頭-檔案問題
5開頭-伺服器問題
150 FILE: %s
150 Opening %s mode data connection for %s (%I64d Bytes).
150 Opening %s mode data connection for %s.
150 Opening ASCII mode data connection for /bin/ls.
150 Opening BINARY mode data connection for MLSD.
200 (end of 'index %s')
200 Command channel switched to clear-text.
200 Command OK, %I64d Bytes available on %s
200 Command okay.
200 EXEC command successful (TID=%u).
200 Message received okay.
200 MLST OPTS
200 MODE S ok.
200 MODE Z LEVEL set to %d.
200 MODE Z ok.
200 Noted.
200 Opened OK (but not really).
200 PBSZ command OK. Protection buffer size set to 0.
200 PBSZ=0
200 PORT Command successful.
200 PROT command OK. Using clear data connection.
200 PROT command OK. Using private data connection.
200 SSCN:CLIENT METHOD
200 SSCN:SERVER METHOD
200 STRU F ok.
200 STRU R ok.
200 Transfer progress notification is off.
200 Transfer progress notification is on.
200 Type set to A.
200 Type set to I.
202 Command not implemented, superfluous at this site.
202 Command not implemented, superfluous at this site.
210 UTC%+ld
211 End
211 End of status.
211-Extension supported
211-Status for user %Name from %IP:
213 %I64d
213 %s
214 Direct comments or bugs to bugs@bugs.com.
214- The following commands are recognized (* => unimplemented).
215 UNIX Type: L8
220 Service ready for new user.
220 Serv-U FTP Server v%s for WinSock ready...
221 Goodbye!
226 ABOR command successful.
226 Transfer complete.
226 Transfer complete.
226 Transfer complete.
227 Entering Passive Mode (%d,%d,%d,%d,%d,%d)
230 Password changed okay.
230 Switching to SYSTEM MAINTENANCE mode.
230 User logged in, proceed.
230 User logged in.
231 Switching to GROUP MAINTENANCE mode.
232 Switching to DOMAIN MAINTENANCE mode.
233 Switching to READ-ONLY MAINTENANCE mode.
233 User logged in, PASSWORD EXPIRED - please change before proceeding.
234 AUTH command OK. Already have SSL connection.
234 AUTH command OK. Initializing SSL connection.
250 %X
250 DELE command successful.
250 Directory changed to %s
250 End.
250 RMD command successful.
250 RNTO command successful.
250-Listing %s
253 Attributes changed okay.
253 Date/time changed okay.
257 "%s" directory created.
257 "%s" is current directory.
321 Transferred %I64d Bytes.
331 Response to otp-md%d %u %s required for skey.
331 User name okay, need password.
331 User name okay, please send complete E-mail address as password.
350 File or directory exists, ready for destination name
350 Restarting at %I64d. Send STORE or RETRIEVE.
421 Data connection closed (SSL/TLS negotiation failed).
421 Service closing control connection.
425 Cannot open data connection.
425 Cannot open data connection.
425 Cannot open data connection.
425 Try later, data connection in use.
425 Try later, data connection in use.
425 Try later, data connection in use.
425 Try later, out of network sockets.
425 Try later, out of network sockets.
425 Try later, out of network sockets.
425 Unable to listen, too many pending PASV requests from same client IP.
425 Unable to set up passive listening socket.
426 Data connection closed, cannot read file %s.
426 Data connection closed, cannot write file %s - disk full?
426 Data connection closed, error compressing data stream.
426 Data connection closed, error decompressing data stream.
426 Data connection closed, file transfer %s aborted by client.
426 Data connection closed, file transfer %s aborted.
426 Data connection closed, receive file %s aborted.
426 Data connection closed, transfer aborted.
426 Transfer aborted.
431 Account temporarily locked for other user, please try later.
431 Password not changed, no match for old password.
431 Unable to negotiate secure command connection.
432 Password not changed, new password should be at least %d characters in length.
432 Password not changed, new password should contain at least one upper-case character and symbol
432 Password not changed, old and new passwords cannot be identical.
450 Cannot open file %s for reading.
452 Sorry, insufficient disk quota - receive file %s aborted.
500 '%s': command not understood.
501 %s: Not a directory.
501 Cannot EXEC command line (error=%u).
501 Invalid MLST options
501 Invalid option.
501 Not enough space, only %I64d Bytes available on drive %s
501 Permission denied.
501 SITE option not supported.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Syntax error in parameters or arguments.
501 Wildcards not allowed.
502 Syntax error - use SITE PSWD "<oldpassword>" "<newpassword>".
503 Bad sequence of commands.
503 Bad sequence of commands.
503 Secure command connection required prior to PBSZ command.
503 Secure command connection required prior to PROT command.
504 Command not implemented for that parameter.
504 Command not implemented for that parameter.
504 Command not implemented for that parameter.
504 Unknown security mechanism.
510 Cannot determine server time zone.
521 Data connection cannot be opened with this PROT setting.
522 SSL/TLS lib refuses to initiate secure data connection.
530 Cannot change Anonymous password.
530 Cannot change password.
530 Not logged in, cannot find home directory.
530 Not logged in, home directory does not exist.
530 Not logged in, need secure connection.
530 Not logged in, only %d sessions from same IP allowed concurrently.
530 Not logged in, only one session from same IP allowed at a time.
530 Not logged in, too many tries with incorrect password.
530 Not logged in, unauthorized IP address.
530 Not logged in, use real E-mail address as password.
530 Not logged in.
530 Not logged in.
530 Not logged in.
530 Only client IP address allowed for PORT command.
530 Only client IP address allowed to connect to PASV socket.
530 PASSWORD EXPIRED - please change password before proceeding.
530 Port number has to be between 1024 and 65535.
530 Sorry, no ANONYMOUS access allowed.
531 SSL/TLS lib refuses to initiate secure command connection.
533 SSL command connection required prior to CCC command.
534 Invalid option. Secure data connection required for implicit SFTP.
534 Invalid option. Secure data connection required for implicit SFTP.
550 %s: Cannot create file.
550 %s: Cannot delete directory.
550 %s: Cannot delete file.
550 %s: Cannot determine date/time.
550 %s: Failed to create.
550 %s: No such file or directory.
550 %s: No such file or directory.
550 %s: No such file or directory.
550 %s: No such file or directory.
550 %s: No such file or directory.
550 %s: No such file or directory.
550 %s: No such file or directory.
550 %s: No such file or directory.
550 %s: No such file.
550 %s: No such file.
550 %s: Permission denied.
550 %s: Permission denied.
550 %s: Permission denied.
550 Cannot change path to a port.
550 Cannot create a port.
550 Cannot create INDEX for ports.
550 Cannot create unique file name.
550 Cannot delete a port.
550 Cannot delete account home directory.
550 Cannot determine date/time for a port.
550 Cannot determine size of a port.
550 Cannot EXEC a port.
550 Cannot list port.
550 Cannot position file at requested starting point.
550 Cannot read requested number of bytes from file.
550 Cannot remove a port.
550 Cannot rename to a port.
550 Cannot RESTart at any position while APPEnding to a file.
550 Cannot RESTart beyond end-of-file.
550 Cannot RESTart in a (new) unique zero-length file.
550 Cannot RESTart in a new (zero-length) file.
550 File date/time cannot be set to future.
550 File transfer not allowed, server stop is pending.
550 File transfers not allowed, server stop is pending.
550 MDTM cannot change date/time on this server.
550 No files found.
550 No maintenance manager client.
550 Passive mode not allowed on this server.
550 Permission denied
550 Permission denied.
550 Permission denied.
550 Permission denied.
550 Permission denied.
550 Permission denied.
550 Permission denied.
550 Permission denied.
550 Permission denied.
550 Permission denied.
550 Permission denied.
550 Sorry, insufficient credit for download - upload first.
550 Sorry, maximum number of GETs reached for this session.
550 Sorry, maximum number of PUTs reached for this session.
553 %s: Cannot change attributes.
553 %s: Cannot change date/time.
553 %s: Unable to rename file or directory.
553 Server Edition does not support remote administration.

有時ftp上傳,下載時,總是串連出錯,無外乎以下原因,僅供參考:

Serv-U BBSFTP 提示資訊詳解
1。 550 Not enouth credit to download .(bbsftp v2.6CE)

該提示資訊一般在下載檔案時出現。該提示表示您當前的下載流量不夠。

2。530 Not logged in.(bbsftp v2.6CE)[FTP<202.15.29.29:21> User<rick> DB-FtpUserDown]

該提示資訊一般在登入失敗時出現。該提示表示使用者 rick 在FTP 202.15.29.29:21 中不存在.

3。530 Not logged in, unauthorized IP address.(bbsftp v2.6CE)

表示IP地址未授權,包流量使用者或包時間使用者一般修改允許登入的IP位址範圍後就可以登入了.

公用帳號,首先需要進行購買,才能登入.否則也會有這個提示資訊.這樣做是為了防止公用帳號被盜連.

4。530 Not logged in.(bbsftp v2.6CE)[BadPassword][3]

這個提示資訊很明確了,密碼錯誤。

5。530 Not logged in.(bbsftp v2.6CE)[UserDBError-FTP_USERS]

出現這個提示一般是參數設定錯了,如果沒有定製過資料庫檢視FTP_USERS,請在設定中 將是否使用資料檢視設定為不使用。

6。530 Not logged in.(bbsftp v2.6CE)[UserDBError-FtpUserDown]

出現這個錯誤一般是資料庫出問題了,可能是mysql字元集設定導致的,如果是免費版的bbsftp,還可能是mysql的最佳化設定導致的。

7。421 Your Account Is Expired!(bbsftp v2.6CE)

這個提示資訊一般在使用者登入時出現。意思是說該帳號已到期。

流量購買帳號,遇到這個錯誤資訊,一般在論壇上更新一下自己的帳號資訊就可以了(在購買介面進行一次購買操作)。

時間購買帳號,那就需要在論壇上購買帳號的使用時間了。

公用帳號密碼,很少遇到這種提示,如果遇到這個提示資訊,表示公用帳號剛好多了密碼更新時間了,這時之前的購買記錄都會被清空,您需要重新購買公用帳號和密碼才能登入。

8。421 Your Account Is Disabled!(bbsftp v2.6CE)

這個資訊一般在使用者登入時出現,表示該帳號被禁用了。只能聯絡管理員解決了

9。530 Not logged in, home directory does not exist.(bbsftp v2.6CE)

一般在使用者登入時出現. 意思是說使用者的根目錄不存在.

仔細檢查一下這個使用者,看看他 對應的角色是否已經配置了. 如果角色不存在顯然是有問題的.

然後檢查其對應角色裡面的 FTP根目錄的設定, 看看該設定填的路徑在 ftp伺服器上是否存在.

如果存在的一般是沒有問題的. 要注意一下三點:

1 修改角色設定後要重啟servu才會生效.

2 如果該路徑在ntfs格式的磁碟上,要保證ftp伺服器有許可權 訪問這個路徑.

3 如果設定了本地目錄安全參數. 該路徑必須是在安全目錄設定的路徑範圍內.

10。 550 Permission denied

一般是路徑訪問規則的使用權限設定不正確,

首先檢查使用者對應的角色名稱,

然後檢查角色的設定,看看是否設定了路徑訪問規則的組號。

再檢查相應的組號的路徑訪問規則群組,

看看是否添加了FTP根目錄的存取權限。

有時候因為資料庫的原因導致中文字元錯誤,可以試試用英文路徑名。

注意修改這些設定需要重啟servu。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.