Urgent permissions help

thoroughfare

Verified User
Joined
Aug 11, 2003
Messages
540
Hi,

Can someone please do an:

ls -al -R /var/

and paste/PM the results please? I accidentally chmoded the whole /var and need to double-check everything is set properly again.

Many thanks,
Matt
 
the entire contents of that directory are way too massive for a post man, specially if you have a lot of mysql db's

give you the base structure though.

drwxr-xr-x 22 root root 4096 Jun 11 2005 .
drwxr-xr-x 21 root root 4096 Mar 19 04:16 ..
drwxr-xr-x 2 root root 4096 Jan 27 04:29 account
drwxr-xr-x 7 root root 4096 Jan 18 2005 cache
drwxr-xr-x 5 netdump netdump 4096 Nov 21 09:05 crash
drwxr-xr-x 2 root root 4096 Jan 24 2003 db
drwxr-xr-x 3 root root 4096 Jan 18 2005 empty
drwxr-xr-x 3 root root 4096 Oct 4 2004 ftp
drwxr-xr-x 16 root root 4096 Mar 16 01:05 lib
drwxr-xr-x 2 root root 4096 Jan 24 2003 local
drwxrwxr-x 3 root lock 4096 Mar 19 04:22 lock
drwxr-xr-x 12 root root 4096 Mar 19 04:11 log
lrwxr-xr-x 1 root root 10 Jan 18 2005 mail -> spool/mail
drwxr-x--- 4 root named 8192 Mar 18 11:58 named
drwxr-xr-x 2 root root 4096 Jan 24 2003 nis
drwxr-xr-x 2 root root 4096 Jan 24 2003 opt
drwxr-xr-x 2 root root 4096 Jan 24 2003 preserve
drwxr-xr-x 9 root root 4096 Mar 20 03:29 run
drwxr-xr-x 15 root root 4096 Mar 16 01:05 spool
drwxrwxrwt 3 root root 1024 Mar 16 04:36 tmp
drwx------ 2 root root 4096 Jul 8 2004 tux
drwxr-xr-x 6 root root 4096 Jan 18 2005 www
drwxr-xr-x 3 root root 4096 Nov 30 15:10 yp

ignore my tmp permissions, i mounted that as a drive with noexec.
 
Thanks Vandal :)

I should have clarified that I'm running FreeBSD, so if someone can PM me or post their FreeBSD-DirectAdmin permissions, I'd be very grateful.

Specifically, I'd especially like the permissions for:
  • /var/mail/*
  • /var/spool/virtual/*
  • /var/db/*
  • /var/named/*

Thanks,
Matt
 
Back
Top