Re: Default permission.

2004-07-20 Thread Toomas Aas
Hi!

> Just to check with anyone, is there a "list" of default permission
> for /usr and /var
> 
> I kinda srew up somewhere and now can't remember what is the actual
> permission for this 2 folder structure and all the related files
> inside.

Check out mtree(8) and the files under /etc/mtree/
--
Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/
* Life is too short to drink cheap beer.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Default permission.

2004-07-18 Thread Matthew Seaman
On Mon, Jul 19, 2004 at 01:28:45AM +0800, SP Network Solutions wrote:

> Just to check with anyone, is there a "list" of default permission for /usr and /var
> 
> I kinda srew up somewhere and now can't remember what is the actual permission for 
> this 2 folder structure and all the related files inside.

See mtree(8) Look at /etc/mtree/BSD.usr.dist,
/etc/mtree/BSD.sendmail.dist and /etc/mtree/BSD.var.dist which covers
most of those two partitions.

In order to apply the default settings:

# mtree -p /usr -U /etc/mtree/BSD.usr.dist

and similar for the /var partition stuff.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgpkddphxQvJY.pgp
Description: PGP signature


Default permission.

2004-07-18 Thread SP Network Solutions
Hi, got this add from my freinds

Just to check with anyone, is there a "list" of default permission for /usr and /var

I kinda srew up somewhere and now can't remember what is the actual permission for 
this 2 folder structure and all the related files inside.

Thanks in advance
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"