Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    620

    Can't remove a cgi script on root level..

    Hi all,

    This is strange.
    I can't remove a cgi script even i'm root.

    It give a "rm: cannot remove `chat.cgi': Operation not permitted" error.



    drwxr-xr-x 2 gomore gomore 4096 Aug 25 03:12 ./
    drwxr-x--- 20 domore nobody 4096 Aug 27 09:15 ../
    -rwxr-xr-x 1 gomore gomore 183645 Aug 24 01:58 chat.cgi*
    root@server [/home/gomore/public_html/cgi-bin]# rm -rf chat.cgi
    rm: cannot remove `chat.cgi': Operation not permitted

    anyone encounter similar problem before?
    Linux System admin (since 2001)
    * cPanel/WHM, Directadmin, Apache, DNS, PHP, HyperVM, Lxadmin, Openvz*

  2. #2
    Join Date
    Apr 2004
    Location
    Singapore
    Posts
    620
    hmm... i fix the problem by chattr -i the file first and able to remove it now ...
    Linux System admin (since 2001)
    * cPanel/WHM, Directadmin, Apache, DNS, PHP, HyperVM, Lxadmin, Openvz*

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •