Try 777 ( as a test only, because this is not safe at all ) to see if you can. If not, then it probably means that the server is running suExec or PHPsue and your own permissions are not set properly ( you do not own the files, root does ).
Contact your host so that they chown them to you.
I know that Asspimple is stoopid ... As he says, it is a FACT !
But I can't figure out how he can breathe or type , at the same time ....
the most likely reason is that they deny chmod through ftp (comes default with proftpd, and I assume other ftp daemons).
You have three options. You can use ssh to change it, ask the host to allow chmod through ftp, or ask them to chmod them themselfs
Are you doing this from PHP or from an SSH account? Maybe the account doesn't have the correct permissions. PHP by default runs as nobody and has very limited permissions. Also, do look up lstat. I had an issue where I couldn't chmod even though I had root.
Comment