Re: Can't remove file as root

From: terry (kj5zr@cowtown.net)
Date: 02/23/02

  • Next message: ynotssor: "Re: Can't remove file as root"

    From: terry <kj5zr@cowtown.net>
    Date: Sat, 23 Feb 2002 14:55:09 -0600
    
    

    Teddy wrote:
    >
    > I have the problem, that I can't remove a file as root anymore, and I
    > don't know why. The file was replaced by a hacker.
    >
    > root@host:/bin # ls -l ps
    > -rwxr-xr-x 1 root root 13583 Feb 9 01:04 ps
    > root@host:/bin # rm ps
    > rm: remove `ps', overriding mode 0755? y
    > rm: ps: Operation not permitted
    > root@host:/bin # chmod 0700 ps
    > chmod: ps: Operation not permitted
    >
    > Thanks for Help
    >
    > Teddy
    Try:
    chmod 2777

    --
    Registered Linux User #188099
    ><>
    



    Relevant Pages

    • Cant remove file as root
      ... I have the problem, that I can't remove a file as root anymore, and I ... The file was replaced by a hacker. ... chmod: ps: Operation not permitted ... Teddy ...
      (comp.security.unix)
    • Re: Cant remove file as root
      ... Teddy wrote: ... > I have the problem, that I can't remove a file as root anymore, and I ... > chmod: ps: Operation not permitted ... A nickel ain't worth a dime anymore. ...
      (comp.security.unix)
    • Re: Cant remove file as root
      ... > I have the problem, that I can't remove a file as root anymore, ... The file was replaced by a hacker. ... > chmod: ps: Operation not permitted ... Unplug it NOW from ...
      (comp.security.unix)