User ftp problem

I am trying to create a ftp user at the centos 6.7 server and to upload at /var/html/.
So I created a user with adduser and I set chown -R dimis /var/www.
I manage to connect with ftp client but as I notice I upload at /home/dimis,this folder I can see at ftp client.
What can I do to see at filezilla the /var/www/ folder and not the /home/dimis directory?

I set sudo ln -s /var/www /home/LOGIN_ID/ but now I have the error 550 Failed to open file trying to open www folder at ftp client.How can I solve it?

I manage to set home dir of ftp user the /var/www/html and user can login via ftp.
I et the permissions at /var/www/html/ but I have the error 553 Could not create file
I suppose there is a conflict but I can not find it.What is wrong?

For new user creation you can use following command.

  • useradd -m -G ftp -s /sbin/nologin -d /home/ftpuser ftpuser

I created a new use, I set chown and chmod but I have again the problem 553 Could not create file.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.