Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    8

    Default change to cpanel3-skel file permissions?

    I have a set of files stored in cpanel3-skel for a reseller account. Each time a new domain gets created in cpanel, those files get copied across to the user's account and becomed owned by the user.

    This has all worked fine up till this week when the permissions on the files being copied arent being preserved. I have some of the skeleton files set to be 666 so that the user can edit the file, but when I create a new user account now, the files get copied but all with permissions 644. The directories get copied with the correct permissions. I presume cpanel upgraded their creating an account script recently?

    Does anyone know what I could do to make the file permissions be preserved when creating a new domain? I figured I could add some lines to a /scripts/postwwwacct file that the wwwacct script looks for, for extra instructions, but Im not sure what those instructions should be?

    Thanks for any assistance or direction!!!

  2. #2
    Member
    Join Date
    Sep 2005
    Location
    Brazil
    Posts
    22

    Unhappy I have the problem too

    Quote Originally Posted by sceilig
    I have a set of files stored in cpanel3-skel for a reseller account. Each time a new domain gets created in cpanel, those files get copied across to the user's account and becomed owned by the user.

    This has all worked fine up till this week when the permissions on the files being copied arent being preserved. I have some of the skeleton files set to be 666 so that the user can edit the file, but when I create a new user account now, the files get copied but all with permissions 644. The directories get copied with the correct permissions. I presume cpanel upgraded their creating an account script recently?

    Does anyone know what I could do to make the file permissions be preserved when creating a new domain? I figured I could add some lines to a /scripts/postwwwacct file that the wwwacct script looks for, for extra instructions, but Im not sure what those instructions should be?

    Thanks for any assistance or direction!!!
    I think that this problem also occurred due the update of cpanel
    version WHM 10.6.0 cPanel 10.8.0-R58

  3. #3
    Registered User
    Join Date
    Jul 2004
    Posts
    3

    Default retaining file permissions in skeleton

    Has anybody heard anything about a fix for this, or anything that will help solve the problem?

  4. #4
    Member sneader's Avatar
    Join Date
    Aug 2003
    Location
    La Crosse, WI
    Posts
    932
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Where is the skeleton directory?

    WHM says:
    /root/cpanel3-skel
    This directory is what will be used as a skeleton for new accounts. For example if you place an index.html file in /root/cpanel3-skel/public_html, and then setup a new account, that account will have a copy of your index.html in their public_html directory
    When I go to /root, the directory cpanel3-skel doesn't exist.

    Do I need to create it?

    - Scott

  5. #5
    Registered User
    Join Date
    Jul 2004
    Posts
    3

    Default

    You can create your own cpanel3-skel in the root folder if you want, but the cpanel3-skel folder should be on the folder /home/username/ for any reseller on your server.

    ex: /hmoe/username/cpanel3-skel/.....

  6. #6
    Member sneader's Avatar
    Join Date
    Aug 2003
    Location
    La Crosse, WI
    Posts
    932
    cPanel/Enkompass Access Level

    Root Administrator

    Default Will try!

    Thanks, I'll give it a shot. This is not for any resellers, but for the accounts that I sell directly. The skeleton directory doesn't currently exist, so I'll make it and give it a try. Thanks again!

    - Scott

  7. #7
    Registered User
    Join Date
    Jul 2004
    Posts
    3

    Default

    It also depends on how you do youraccounts. I created my own account and set myself as a reseller that way I'm not logging in as root unless necessary. I'm not an expert ni the matter but I believe /root/cpanel3-skel....will just be created for any account that does not have a cpanel3-skel loaded from a reseller profile. experimentation is probably the best way to find out.

Similar Threads & Tags
Similar threads

  1. Replies: 10
    Last Post: 07-06-2009, 12:51 PM
  2. /root/cpanel3-skel
    By nti in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-11-2007, 03:52 AM
  3. Cpanel3-skel
    By master68 in forum New User Questions
    Replies: 5
    Last Post: 08-29-2006, 10:29 PM
  4. Default permissions of cpanel3-skel/public_html
    By alexz in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 06-20-2005, 06:01 PM
  5. Alias to cpanel3-skel
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-30-2002, 04:19 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube