CyberPanel Community

ClosedAccidently gave root:root ownership of entire /usr/loca/CyberCP folder

LR
Lutfar Rahman #1

Hi,
DKIM generation was giving me an error. And to fix the issue, I accidentally gave root:root owner permission to the /usr/local/CyberCP folder. Now my webmail is not working (and I don’t know what mess I’ve already made). Can someone please tell me the default folder and file permissions of this folder?

Thanks in advance.

Lutfar

5 replies
Dr
Dreamer #2

Not 100% sure but run cyberpanel update that might fix permissions.

jo
josephgodwinke #3

Welcome @nirjhar Happy you are here

Wrong move just give the user and group cyberpanel back its ownership

$ chown -R cyberpanel:cyberpanel /usr/local/CyberCP
jo
josephgodwinke #4

Which error are you getting ? Post it here

LR
Lutfar Rahman #5

I fixed it by installing another server in VM and copying the file and folder permission structure, and using it.

LR
Lutfar Rahman #6

Issue resolved. Somehow dkim generated folder got permission root:root and I replaced that with cyberpanel:cyberpanel. Thanks for your concern.

Sign in to reply