The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Folder permission stuck!

Discussion in 'General Discussion' started by jay1228, Feb 21, 2007.

  1. jay1228

    jay1228 Member

    Joined:
    Apr 15, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I am using IFD firewall, which recently detected a script being exploited and changed permissions to 000 for that folder.

    Now I have a patch for the script and its not allowing me to change file permissions, I get operation not allowed message. I tried doing it through SHELL, FTP and file manager none seems to be working. How do I go about changing permissions for this file.

    I have done this before without any problems, this folder is stuck for some reason.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You need to remove the immutable flag on the directory:

    chattr -i /path/to/dir
     
  3. jay1228

    jay1228 Member

    Joined:
    Apr 15, 2005
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Thank you for the reply. This solved my problem!
     
Loading...

Share This Page