Page 1 of 1

Permissions of CXS files changes by accident

Posted: 27 Jan 2025, 14:28
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?

Re: Permissions of CXS files changes by accident

Posted: 30 Jan 2025, 17:04
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