passwd & permissions
Peter Pentchev
roam at ringlet.net
Thu Mar 24 07:42:15 PST 2005
On Wed, Mar 23, 2005 at 11:41:13AM -0600, H. S. wrote:
[snip]
> Since pw is not setuid, if it can't read any of the passwd files, it will
> not print the full userlist. I have very customized (and tested, over the
> years) permissions on the whole filesystem. That is why I wanted to find
> out why some permissions get back to system defaults whenever I install a
> port. The most proeminent cases are /usr/local/sbin/ (gets back to rwx rx
> rx) and /usr/local/www (rwx rx rx and chgrp wheel, I have a different
> group owning the directory).
>
> Any idea about what to fix in order to make the system stop resetting my
> permissions when I install ports ?
The mtree(8) file for the /usr/local hierarchy, found in
/etc/mtree/BSD.local.dist
G'luck,
Peter
--
Peter Pentchev roam at ringlet.net roam at cnsys.bg roam at FreeBSD.org
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
This sentence contains exactly threee erors.
-------------- 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-hackers/attachments/20050324/487961dc/attachment.bin
More information about the freebsd-hackers
mailing list