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

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

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

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

Which error are you getting ? Post it here

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

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

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.