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.

Permissions changing from 755 to 750

Discussion in 'General Discussion' started by rebouy, Feb 16, 2011.

  1. rebouy

    rebouy Member

    Joined:
    Sep 1, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Hi we are having a related issue in a couple servers.

    In one server a subdomain's root folder is changing permissions from 755 to 750 apparently on its own.
    In another server (different client) an addon domain's root folder is doing the same.

    This causes the sites to appear offline.

    Any idea what could be causing this or in what way can i track it?
     
  2. LinuxTechie

    LinuxTechie Well-Known Member

    Joined:
    Jan 22, 2011
    Messages:
    502
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Hello,

    Is there any cron set ? That's a possibility if no human interventions are being done!
     
  3. rebouy

    rebouy Member

    Joined:
    Sep 1, 2010
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Hi cPtechie,

    Thanks for the reply.

    There is no cronjob running. not at user level or server level (at least not ours) that would do chmod
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    If the machine is a dedicated not VPS, you could try installing auditd and using auditctl to track when the file is modified and by what:

    Linux audit files to see who made changes to a file

    This is a good guide on using auditctl to perform that task. It will not install on VPS systems many times, so the machine(s) must be non-VPS to add auditd to run auditctl checks on set files or folders.
     
  5. jvanschaack

    jvanschaack Member

    Joined:
    Jan 26, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    New York
    cPanel Access Level:
    DataCenter Provider
    Unless the VPS is run on a real HW virtualization platform like Vmware. Then you should be able to run this fine.
     
  6. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    You can check /var/log/messages and /usr/local/cpanel/logs/access_logs if the change of permission was happened through ftpclient or file manger through cPanel.
     
  7. ruzbehraja

    ruzbehraja Well-Known Member

    Joined:
    May 19, 2011
    Messages:
    383
    Likes Received:
    7
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator

    From where are you changing the permissions? File Manager?

    It could be possible that the folders are owned by a different account and hence in the file manager although it is showing you that the permissions have been changed, when you refresh, it is resetting the original permissions.
     
Loading...

Share This Page