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 Answers
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.
The default setting is drwxr-xr-x. To restore this, use cd /
then sudo chmod 755 var
.
-
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.– djeikybDec 31, 2013 at 21:18 -
as far until now it didn't made any trouble for me
?