Portal Home > Knowledgebase > Articles Database > Cannot perform 'chmod' on FTP client software interface


Cannot perform 'chmod' on FTP client software interface




Posted by ivytony, 04-13-2009, 11:22 PM
I got a VPS with Linode and I have installed CentOS 5.2 32-bit, Apache, MySQL and ProFTPd. The server itself runs very OK, however, I have issues with running 'chmod' on the user interface with either FileZilla or CuteFTP pro. Whenever I try to chmod 777 on a directory, I got this error on the FTP client interface: Why no such file or directory? weird. It's just on the server though. The FTP user is the owner/group of the directory I try to chmod to. But I am able to run chmod on Putty. anyone has any clue? thanks!

Posted by gooomba, 04-14-2009, 05:04 AM
Yeah, this sometimes happens when you have a cPanel server. Restarting FTP server solves this problem.

Posted by ivytony, 04-14-2009, 05:16 PM
actually, I don't have any control panel installed on the server. I just use command lines to do everything. any ideas? thanks

Posted by BillabongRob, 04-14-2009, 05:22 PM
Are you logging in as the user or root? Usually FTP will not allow root login. If the file is not owned by the user and is owned by nobody or root, you will not be able to chmod it.

Posted by ivytony, 04-14-2009, 08:26 PM
I log in as a user (not root) and the user name is the owner of the files/directories on the FTP server. thanks

Posted by larwilliams, 04-14-2009, 08:34 PM
What FTP server software are you running? Proftpd? vsftpd?

Posted by ivytony, 04-14-2009, 08:52 PM
ProFTPd, thanks!

Posted by gooomba, 04-14-2009, 11:33 PM
Okay then, to restart your FTP server enter following command in SSH: This should work.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Language: