failed to open for writing Filezilla on Ubuntu
I have a new Ubuntu distro, and am trying to get set up. I'm new to Linux. I've got Apache set up and trying to move some files over to the www directory.
Trying to do it manually through the file system was blocked. I tried a few different ftp programs, but FileZilla was the only one that started giving me error messages I could use.
I can connect. I got that far. I'm set for FTP / plain text.
Trying to copy from the file system to the www subdirectory, I get:
Status: Starting download of /home/david/Downloads/Joomla_3.5.1-Stable-Full_Package/templates/system/images/calendar.png
Error: Failed to open "/var/www/Joomla_3.5.1-Stable-Full_Package/templates/system/images/calendar.png" for writing
Error: File transfer failed
Trying to copy from www to my file system, I get:
Command: CWD /home/david/Documents/html
Response: 550 Failed to change directory.
Command: CWD /home/david/Documents
Response: 250 Directory successfully changed.
Command: MKD html
Response: 550 Permission denied.
Command: MKD /home/david/Documents/html
Response: 550 Permission denied.
Command: CWD /home/david/Documents/html
Response: 550 Failed to change directory.
Command: SIZE /home/david/Documents/html/index.html
Response: 550 Could not get file size.
Command: TYPE A
Response: 200 Switching to ASCII mode.
Command: PASV
Response: 227 Entering Passive Mode (127,0,0,1,44,189).
Command: STOR /home/david/Documents/html/index.html
Response: 550 Permission denied.
Error: Critical file transfer error
Status: Starting upload of /var/www/html/index.html
Command: CWD /home/david/Documents/html
Response: 550 Failed to change directory.
Command: CWD /home/david/Documents
Response: 250 Directory successfully changed.
Command: MKD html
Response: 550 Permission denied.
Command: MKD /home/david/Documents/html
Response: 550 Permission denied.
Command: CWD /home/david/Documents/html
Response: 550 Failed to change directory.
Command: SIZE /home/david/Documents/html/index.html
Response: 550 Could not get file size.
Command: PASV
Response: 227 Entering Passive Mode (127,0,0,1,208,161).
Command: STOR /home/david/Documents/html/index.html
Response: 550 Permission denied.
Error: Critical file transfer error
Status: Disconnected from server
Response: 421 Timeout.
Error: Connection closed by server
I am new to Linux, and very very rusty with Apache, and didn't do much with it when I did work with it. It looks like it can't create a subdirectory, but, I'm assuming that is just the first symptom, and in reality it can't create subdirectory or file.
Any pointers would be greatly appreciated.
链接地址: http://www.djcxy.com/p/60072.html