Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

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.

share|improve this question

marked as duplicate by Braiam, Eric Carvalho, Alaa Ali, Florian Diesch, Jorge Castro Jan 1 '14 at 21:22

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Will your system boot? What do you mean by as far until now it didn't made any trouble for me? – Ross Dec 31 '13 at 20:52
I mean it boots and there is no problem with my system. – user2682025 Dec 31 '13 at 20:55
up vote 3 down vote accepted

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.

share|improve this answer

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

share|improve this answer
I know this and I restored some of it's sub-folders too. but I'm still afraid if it makes troubles in future. – user2682025 Dec 31 '13 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 '13 at 21:18
I know thanks I changed back based on this answer – user2682025 Dec 31 '13 at 21:26

Not the answer you're looking for? Browse other questions tagged or ask your own question.