• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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