user owned groups

Erik Nørgaard norgaard at locolomo.org
Wed May 11 12:50:20 PDT 2005


Lewis Thompson wrote:

> Okay, I'm going to jump in now and ask something I have always wanted to
> know the answer to but always seem to forget.
> 
> Can /home be configured so all files are created with permissions of
> 0600 (or 0700 for directories)?  I use a umask of 77 but that's annoying
> when playing with files in other locations.

from /usr/src/sys/conf/NOTES, this may interest you:

# Extended attributes allow additional data to be associated with files,
# and is used for ACLs, Capabilities, and MAC labels.
# See src/sys/ufs/ufs/README.extattr for more information.
options         UFS_EXTATTR
options         UFS_EXTATTR_AUTOSTART

# Access Control List support for UFS filesystems.  The current ACL
# implementation requires extended attribute support, UFS_EXTATTR,
# for the underlying filesystem.
# See src/sys/ufs/ufs/README.acls for more information.
options         UFS_ACL


Also, UFS2 supports UFS_EXTATTR natively with no need to recompile the 
kernel. So, now, my question is, how to I migrate my UFS to UFS2 without 
an extra disk?

Cheers, Erik

-- 
Ph: +34.666334818                           web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID:  A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2


More information about the freebsd-questions mailing list