Permissions of CXS files changes by accident

Community forum to discuss cxs.
If you believe that there is a problem with your cxs installation and want support then, as a paid product, you should use the helpdesk after having consulted the documentation.
Post Reply
ZeroNine
Junior Member
Posts: 15
Joined: 19 May 2011, 19:19

Permissions of CXS files changes by accident

Post by ZeroNine »

This is very embarrassing.
I accidentally ran

Code: Select all

find /* -type f -print0 | xargs -0 chmod 0644
and all my server files changed to 644.

I was able to restore pretty much everything so everything is fine now.
But I'm getting this permissions error with CXS.

What are the permissions that should be reset to solve this..

Code: Select all

Software error:
open3: exec of /usr/sbin/cxs --version failed: Permission denied at /usr/local/cpanel/whostmgr/docroot/cgi/configserver/cxs.cgi line 46.
Is there an easy fix?
Sergio
Junior Member
Posts: 1732
Joined: 12 Dec 2006, 14:56

Re: Permissions of CXS files changes by accident

Post by Sergio »

Try the following in /usr/local/cpanel/whostmgr/docroot/cgi/configserver/

Directories should be: 755
CGI Files should be: 700
SSH Files should be: 700
pretty much all other files like .png, .txt, etc. should be 644

Or what it will be better is to ask Configserver how much they charge for fixing this.

Sergio
Post Reply