I was messing around installing xaraya and got a permission error it couldn't write its config to /var so I did chmod -R 777 * inside /var and boy that was a dumb mistake I admit
ssh died next reboot so I redid permission to root only
now this is my current var root
Code:
[/var] >ls -l
total 4
drwxr-x--T 2 root root 72 2006-11-12 21:22 X11R6/
lrwxrwxrwx 1 root root 3 2006-11-12 21:22 adm -> log/
drwxr-x--T 5 root root 136 2006-11-21 03:25 cache/
drwxr-x--T 3 root root 72 2006-09-14 04:11 db/
drwxr-x--T 2 root root 48 2006-09-28 18:17 empty/
drwxr-x--T 15 root root 368 2006-09-08 21:51 lib/
drwxr-x--T 3 root root 72 2000-05-09 18:50 lock/
drwxr-x--T 14 root root 3040 2006-12-08 15:24 log/
lrwxrwxrwx 1 root root 10 2006-11-12 21:22 mail -> spool/mail/
drwxr-x--T 12 root root 288 1993-11-24 22:29 man/
drwxr-x--T 3 root root 80 2001-05-17 23:11 named/
drwxr-x--T 8 root root 528 2006-12-08 15:31 run/
lrwxrwxrwx 1 root root 15 2006-11-12 21:22 rwho -> /var/spool/rwho/
drwxr-x--T 15 root root 376 2003-06-05 18:43 spool/
drwxr-x--T 5 root root 128 2006-08-08 01:02 state/
drwxr-x--T 8 root root 336 2006-11-24 22:50 swaret/
drwxr-x--T 4 root root 184 2006-12-08 01:00 tmp/
drwxr-x--T 2 root bin 240 2006-11-13 14:39 webmin/
drwxr-x--T 8 root root 192 2006-12-03 21:07 www/
drwxr-x--T 2 root root 136 2006-11-12 21:58 yp/
now www don't have permission now I know the quickest way to fix this quagmire is a reinstall.
is that honestly the easiest or shouuld I run through the entire folder figuring out permissions i don't mind doing htat would just need a list of whats what for stock stuff.
I post this so others can gain from my dumb mistakes to