5

How can I reset the permissions of /var?

view full story
linux-howto

http://askubuntu.com – My friend did a chmod -R 777 /var by mistake. Now he has his /var folder permissions like this: drwxr-xr-x 15 root root 4096 Dec 29 17:36 . drwxr-xr-x 23 root root 4096 Dec 10 11:15 .. drwxrwxrwx 2 root root 4096 Dec 28 09:54 backups drwxrwxrwx 22 root root 4096 Nov 9 11:06 cache drwxrwsrwx 2 root whoopsie 4096 Dec 31 09:38 crash drwxrwxrwx 2 root root 4096 Apr 23 2012 games drwxrwxrwx 62 root root 4096 Dec 10 11:06 lib drwxrwsrwx 2 root staff 4096 Apr 19 2012 local lrwxrwxrwx 1 root root 9 Dec 29 17:36 lock -> /run/lock drwxrwxrw (HowTos)