cannot delete php4.fcgi and php5.fcgi

3 posts / 0 new
Last post
#1 Mon, 01/24/2011 - 13:07
jiontro

cannot delete php4.fcgi and php5.fcgi

Hello, to all, i need some hints about some files,so after i successfully uninstalled VM 3.82 GPL on an centos 5.2 operating sistem, i forgot to delete also the servers that already were added, and in the home i have now the folders of the oldest servers, i tried the command "rm -rf /folder/folder/" and i got this error: "rm: cannot remove `/home/maveion.ro1/fcgi-bin/php5.fcgi': Operation not permitted".
Can anyone help me delete those folders? why i cannot use this command. thanks

Mon, 01/24/2011 - 13:20
andreychek

Howdy,

For security reasons, those particular files are setup with the "immutable" attribute.

You can delete those files, but you'd first need to unset the immutable attribute.

To do that, log into your server over SSH as root, and run:

chattr -i  /home/maveion.ro1/fcgi-bin/php5.fcgi

After that, you'd be able to delete that file.

-Eric

Tue, 01/25/2011 - 07:43 (Reply to #2)
jiontro

thanks a lot for the post, all are as seems to be, normal.

Topic locked