Change permission of files with the owner 'apache'

Posted by Dotty on Server Fault See other posts from Server Fault or by Dotty
Published on 2010-07-23T08:09:46Z Indexed on 2010/12/26 9:55 UTC
Read the original article Hit count: 275

Filed under:
|
|
|

Hay, i have some files on my server with the owner set to "apache", I'm not quite sure how this happened.

Anyway, i need to change the permission of these files to 0777 so i can download/edit them. However i cannot.

I'm using a 1and1 Linux server and use Plesk to administrate it.

I have the ability to login via SSH. However, if i run chmod or chown i get a "permission denied" error, and if i try to sudo chmod or chown it says the command cannot be found.

When i go to edit my domain details, i get this option

Shell access to server with FTP user's credentials

and have these options

/bin/sh
/bin/bash
/sbin/nologin
/bin/bash (chrooted)
/bin/rbash

Any idea's how i should go about changing the permissions or changing the owner?

Thanks

© Server Fault or respective owner

Related posts about apache

Related posts about ssh