Tin, of course, programming is easier to master than server administration. Constantly something refuses to work.

Though kill, but I don’t have to change access rights or the owner of the folder with web applications (/ var / www). Created user for superadmin terminal. Prescribed, both on his behalf and on behalf of root:

sudo chown -R superadmin / var / www

sudo chmod -R 755 / var / www

Even 777 in chmod does not help. I can not create or change anything in the directory.

FileZilla writes the following:

Status: I'm starting to upload D: \ test.php

Command: CWD / var / www / html

Answer: 250 Directory successfully changed.

Team: TYPE A

Answer: 200 Switching to ASCII mode.

Team: PASV

Answer: 227 Entering Passive Mode ( hidden IP ).

Team: STOR test.php

Answer: 550 Permission denied.

Error: Critical file transfer error

Poke your nose where I'm stupid ...

  • one
    Use ssh for connections, not ftp . and even better to do so: ru.stackoverflow.com/a/586127/178576 - aleksandr barakin
  • @alexanderbarakin Hello! And for SSH, transferring files is not very convenient. This is how you advised, made the site directory in the directory of your user / home / user / www / site. But the pancake and via FileZill'u and through TotalCommander via FTP protocol refuse to fly files there - = ((( - overtheman
  • one
    You can mount the file system not only via the ftp protocol, but also via the ssh protocol. for the user, it looks absolutely identical. - aleksandr barakin
  • @alexanderbarakin, well, thank you, go deep, read about it. - overtheman
  • I'm not sure that I need to “read” something about this. rather, just another item in the connection dialog should be selected. - aleksandr barakin

0