2

I just accidentally changed my var folder permission to 777 and it's sub folders. Do I have to re-install my system? and as far until now it didn't made any trouble for me.

2
  • 1
    Will your system boot? What do you mean by as far until now it didn't made any trouble for me?
    – Ross
    Dec 31, 2013 at 20:52
  • I mean it boots and there is no problem with my system. Dec 31, 2013 at 20:55

2 Answers 2

3

From a 'will it work?' standpoint, everything should be completely fine and your system should function normally.

That being said, now all processes/users/anything will have complete access to anything inside the /var directory, which will make your system MUCH less secure.

If security is not an issue for you, then you can leave your system the way it is.

1

The default setting is drwxr-xr-x. To restore this, use cd / then sudo chmod 755 var.

3
  • I know this and I restored some of it's sub-folders too. but I'm still afraid if it makes troubles in future. Dec 31, 2013 at 21:00
  • Just to be extra clear, the default setting for /var is 755. This isn't necessarily true for all its files and subdirs.
    – djeikyb
    Dec 31, 2013 at 21:18
  • I know thanks I changed back based on this answer Dec 31, 2013 at 21:26

Not the answer you're looking for? Browse other questions tagged .