Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    You need to remove the immutable flag on the directory:

    chattr -i /path/to/dir
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jay1228

    jay1228 Member

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice