• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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