歡迎您光臨本站 註冊首頁

553 Could not create file,怎麼解決?

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

553 Could not create file,怎麼解決?

各位高手,用ftp工具上傳文件的時候,總是出現553 Could not create file這樣的錯誤,怎麼解決啊?
《解決方案》

553 Could not create file,怎麼解決?

你的用戶沒有上傳文件的許可權。

需要修改伺服器的設置,賦予用戶上傳文件的許可權
《解決方案》

553 Could not create file,怎麼解決?

原帖由 "wolfg" 發表:
你的用戶沒有上傳文件的許可權。

需要修改伺服器的設置,賦予用戶上傳文件的許可權

這個伺服器的設置怎麼修改啊?我是把用戶的文件夾的許可權都設置為777,這樣還不行的.
《解決方案》

553 Could not create file,怎麼解決?

什麼操作系統?用的是哪個ftp伺服器軟體?
《解決方案》

553 Could not create file,怎麼解決?

red hat 9.01 ,ftp是該系統附帶安裝的vsftp.
《解決方案》

553 Could not create file,怎麼解決?

修改/etc/vsftpd.conf

write_enable=YES
《解決方案》

553 Could not create file,怎麼解決?

安裝好的時候write_enable=YES,就是這樣了,沒修改過
《解決方案》

553 Could not create file,怎麼解決?

能否把你的配置貼出來。

還有,你是用系統用戶還是虛擬用戶?
《解決方案》

553 Could not create file,怎麼解決?

我是在用戶/組群里創建用戶,然後賦予ftp組,這是虛擬用戶嗎?

以下是vsftpd.conf文件內容(註釋語句刪掉了):
anonymous_enable=YES

local_enable=YES

write_enable=YES

local_umask=022

dirmessage_enable=YES

xferlog_enable=YES

connect_from_port_20=YES

xferlog_std_format=YES


pam_service_name=vsftpd
userlist_enable=YES
listen=YES
tcp_wrappers=YES
《解決方案》

553 Could not create file,怎麼解決?

你的ftp用戶都使用同一個主目錄嗎?

假設是/home/ftp

這個目錄的許可權應該是770,owner是root,group是ftp

chmod 770 /home/ftp

chown root:ftp /home/ftp

[火星人 ] 553 Could not create file,怎麼解決?已經有6987次圍觀

http://coctec.com/docs/service/show-post-20140.html