Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Sep 2010
    Posts
    21

    Default Permissions changing from 755 to 750

    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. #2
    Member
    Join Date
    Jan 2011
    Posts
    505
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Permissions changing from 755 to 750

    Hello,

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

  3. #3
    Member
    Join Date
    Sep 2010
    Posts
    21

    Default Re: Permissions changing from 755 to 750

    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. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Permissions changing from 755 to 750

    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.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    Member
    Join Date
    Jan 2004
    Location
    New York
    Posts
    11
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default Re: Permissions changing from 755 to 750

    Unless the VPS is run on a real HW virtualization platform like Vmware. Then you should be able to run this fine.

  6. #6
    Member
    Join Date
    Nov 2011
    Posts
    302
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Permissions changing from 755 to 750

    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. #7
    Member
    Join Date
    May 2011
    Posts
    238
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Permissions changing from 755 to 750

    Quote Originally Posted by rebouy View Post
    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?

    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.

Similar Threads & Tags
Similar threads

  1. Replies: 28
    Last Post: 06-11-2010, 12:03 AM
  2. Something changing file permissions
    By mambovince in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-18-2009, 09:50 PM
  3. changing permissions
    By George5 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-07-2009, 02:01 PM
  4. Easyapache changes /tmp permissions to 755
    By s.a. in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-10-2008, 02:19 PM
  5. Permissions changing
    By cem in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 06-07-2006, 09:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube