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 ...