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.



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

Attachment: pgpkddphxQvJY.pgp
Description: PGP signature

Reply via email to