Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using FTP to manage some files on a site I run but keep seeing this (truncated) error log:

Command:    DELE calendarpermission.php
Response:   550 calendarpermission.php: Operation not permitted
[...]
Command:    DELE button_down.gif
Response:   550 button_down.gif: Operation not permitted
Command:    CWD /domains/example.com/public_html/admincp
Response:   250 CWD command successful
Command:    PWD
Response:   257 "/domains/example.com/public_html/admincp" is the current directory
Command:    RMD control_examples
Response:   550 control_examples: Operation not permitted
Command:    CWD /domains/example.com/public_html
Response:   250 CWD command successful
Command:    PWD
Response:   257 "/domains/example.com/public_html" is the current directory
Command:    RMD admincp
Response:   550 admincp: Operation not permitted
Status: Retrieving directory listing...
Command:    PASV
Response:   227 Entering Passive Mode (122,155,5,50,138,244).
Command:    MLSD
Response:   150 Opening ASCII mode data connection for MLSD
Response:   226 Transfer complete
Status: Directory listing successful
Status: Set permissions of '/domains/example.com/public_html/admincp' to '777'
Command:    SITE CHMOD 777 admincp
Response:   550 CHMOD 777 admincp: Operation not permitted

What do I do to solve this?

share|improve this question
5  
550 is FTP's "No, I can't do that". That probably means you don't have read access to the files, or they don't exist. –  Phoshi Jul 18 '10 at 11:00

3 Answers 3

If

Command:    SITE CHMOD 777 admincp
Response:   550 CHMOD 777 admincp: Operation not permitted

occurs then it means that you have absolutely no permissions to do that, you should resolve this problem with your hosting so that they can give your permissions; maybe that folder is has the purpose to stay?

share|improve this answer
    
resert ownwer in direct admin? –  monkey_boys Jul 18 '10 at 14:35
1  
@monkey this is a very general permissions problem. No knowing what kind of environment you're working with, we can't know what needs to be done on your end to fix it. If you have a "reset owners" function in your back-end, that might be the way to go –  Pekka 웃 Feb 1 '11 at 8:53

/domains/example.com/public_html/admincp may be owned by root. It may have been created by PHP and that would be why it is owned by root. Regardless, the user you logged into through ftp isn't allowed to modify the permissions of that file (or it doesn't exist).

share|improve this answer
Command:    SITE CHMOD 777 admincp
Response:   550 CHMOD 777 admincp: Operation not permitted

Means that the the FTP user does not own the file/folder you're trying to chown. They may be in the same group and have full access to the file, but only the owner can chmod a file (or root/sudo). To resolve this you need to own the file (delete + recreate from backup not perserving owners/rights may work)

share|improve this answer

Your Answer

 
discard

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.