2

CentOS - I have created an ftp user that can log in remotely over the internet to the vsftpd server.

Now I can log in via ftp, see all the directory listings (not limited/jailed) to any directory, but I cannot create a new folder inside /var/www/html

When I want to create a new directory, it fails:

550 Create directory operation failed

Note, that I have done the following:

chmod 775 as well as chmod 777

as the root user on the server itself (using putty).

How do I get write access to a specific folder for an FTP user?

Note: I have the following permissions:

drwxr-xr-x. 6 david root 4096 Jul  7 20:30 html
2

Have you typed

write_enable=yes

in your

/etc/vsftpd/vsftpd.conf

otherwise you could use

chroot_local_user=yes

for ftp users being able to login as local users. Hope that helps

0

Identify file vsftpd.conf

Edit it: vi /etc/vsftpd.conf

and then uncomment(#) the line: write_enable=yes

and finally, restart vsftpd: service vsftpd restart

  • 1
    It is already answered. Nothing new. – Prvt_Yadv Aug 6 '18 at 9:29
  • But above answer, it not easy to understand for new member go to linux OS – MrTo-Kane Aug 6 '18 at 9:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.