PDA

View Full Version : Cannot Delete .htaccess


alexmajor
10-08-2005, 09:39 AM
Hi,

I have a server (Linux/Apache/cPanel) with a number of users website accounts on it.

I have an .htaccess file (chmod 644) in one of my users website accounts.
The file is owned by "root".
If I Telnet/SSH in to the account as root or as the user, and try to delete or modify it I get "Operation not permitted" and cannot either change/edit or delete it.

Any ideas how I can change/edit/delete it?

Many Thanks

Alex

Love*
10-08-2005, 11:13 AM
how about uploading a new .htaccess file and trying to overwrite it?

hyperbole
10-12-2005, 07:35 PM
Try the following:

SSH to the site as root.
cd to the directory where the .htaccess file resides
ls -al
which rm

Post the out put from those two commands.