Default permission.

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun Jul 18 11:13:41 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040718/1708978a/attachment.bin


More information about the freebsd-questions mailing list