sahostking

Well-Known Member
May 15, 2012
366
8
68
Cape Town, South Africa
cPanel Access Level
Root Administrator
Twitter
Hi,

Please inform me if there is anyway to fix this:

It looks like this initially when an account is created:

drwxr-x--- 3 skylensc skylensc 4.0K Nov 4 06:03 public_html/

But when I chmod 755 public_html/ then it looks like this and works:

drwxr-xr-x 3 skylensc skylensc 4.0K Nov 4 06:03 public_html/

I'm also under the impression that it should actually be:

"skylensc nobody" and not as per above when using suPHP and suExec?

How do I get it that every account or new account be with the correct permissions?

Seems the same as below:
http://forums.cpanel.net/f5/when-cp...public_html-has-wrong-permissions-357851.html
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Hello :)

You should not change the permissions of the public_html directory to 0755. It should remain at 0750. Are you sure Mod_Ruid2 was not enabled at some point, and there are no custom applications installed (e.g. Nginx, LiteSpeed)?

Thank you.
 

sahostking

Well-Known Member
May 15, 2012
366
8
68
Cape Town, South Africa
cPanel Access Level
Root Administrator
Twitter
Yes Mod Ruid2 was enabled months ago but for a few hours then taken off. We stuck to suPHP ever since and it hasn't given issues since.

We installed Litespeed a few days ago hence that may be the cause. But they are pointing us to cPanel stating that if we switch back to apache which we have and still notice the issue then something in cPanel is the issue.
As per: Permissions issues with new accounts | LiteSpeed Support Forums

Currently switched back to apache but still having this issue when creating new accounts so very strange.

I may run Easyapache later this evening and upcp just to be sure this evening.

Any ideas though?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
What method did you use to uninstall LiteSpeed? It seems like there are probably some custom hooks enabled that are triggered when creating a new account. Let us know if the issue persists after uninstalling LiteSpeed completely and running EasyApache again.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,203
363
Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

Thank you.