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.

file permissions changes automatically to 444 when editing

Discussion in 'General Discussion' started by jkwebdesign, Feb 13, 2014.

  1. jkwebdesign

    jkwebdesign Registered

    Joined:
    Feb 13, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi, i have configured my php to use suPHP and suExec, everything seems to work file exept that file permissions changes automatically to 444.

    Example: I install Joomla and everything is ok, i can edit files with ftp etc, but when i edit some file in Joomla (example change settings when it wrotes to configuration.php or edit files with Joomlas template editor) it changes to 444. User wont change, only permissions.

    I havent seen this before and im sure it is because i have somehow misconfigured php, but i have no clue what causes this.

    Here is my php info and other stuff: - Removed -
     
    #1 jkwebdesign, Feb 13, 2014
    Last edited by a moderator: Feb 13, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Check to make sure Joomla is not using a umask function to define the permissions of the files it creates. Try using an alternate PHP script to see if you experience the same behavior.

    Thank you.
     
  3. jkwebdesign

    jkwebdesign Registered

    Joined:
    Feb 13, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    How can i test that? And how to correct it if it does?

    - - - Updated - - -

    And those permissions also change with css and html files.. If it gives more information.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I suggest opening a support ticket using the link in my signature so we can take a closer look at your system. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page