Tuesday, December 15, 2015

linux - how can I change /var permissions back?

I gave a 0777 permissions to /var (I didn't know back then that it's a really bad thing to do)
I did this while in /var :



chmod -R 0777 *



after I did this postgresql fails to restart everytime.
my question is, how can I return the whole /var permission tree to its default status ?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...