• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Rights on /var/*

AHachmann

New Pleskian
Hi,
Me little dumm a** has run a command on /var/git to set rights and onwer without being cautious enough.
I have run chown git:git .* -R which did not only run direction downwards the tree but upwards as well :-(

Does anybody know if there is a way to reset permissions and ownership for the directories back to standard?
I tried /usr/local/psa/bin/repair already. Did lot of the fixes, but not all is in line yet.

I would be very happy, if someone could lead me to a good trick.

Regards,
Alex
 
Well, you did not only change the permissions for files, you changed them for directories as well. There is no "redo" - function for such commands, so it is wise to re-install the complete server, because the investigations for the right permissions will take hours/days for the whole /var/* - directory.

... ah... and for the next time... you now see, that backups are necessary, if you "play" with your server. Before changing / editing things, you always should have made a backup before.
 
Back
Top