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!!!



LinkBack URL
About LinkBacks
Reply With Quote




