Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

When trying to edit file/folder permissions via FTP I am getting the error:

505 Security server forbids SITE commands. Contact admin.

I am currently using VSFTPD with the config value chmod_enable=YES set.

I also tried using ProFTPD instead but I got the same error.

I have two servers that are setup in a similar environment and they both report the same error.

I am struggling to find anything for that error through google and with it being ftpd server independant I am thinking it must be a system setting or maybe something intercepting the FTP command before it even hits my server if possible?

Would appreciate any help as I am having to do CHMOD commands through shell at the moment which isn't great as I would rather not require everybody to login to SSH.

Thanks in advance.

share|improve this question

1 Answer 1

If two independent FTP daemons report the same error, the filesystem permissions for the FTP useraccount are insufficient to perform the chmod.

wat does ls -l /location/of/ftp/folder report ?

share|improve this answer
code drwxr-xr-x 2 user group 4096 Feb 23 11:25 cache drwxr-xr-x 4 user group 4096 Feb 23 11:26 libs drwxrwxr-x 2 user group 4096 Feb 23 14:20 templates_c I can confirm the correct user permissions are set, and I can run the chmod command at command line level. I think an immediate work around is to implement SFTP rather than FTP at our end – Adam Jessop Feb 23 '12 at 14:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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