Date: Thu, 1 Nov 2007 03:39:31 +0000 From: Tino Engel <elrap@web.de> To: freebsd-questions@freebsd.org Subject: Re: Primary group and parent dir Message-ID: <200711010339.36354.elrap@web.de> In-Reply-To: <20071031051501.GA13046@cannabis.dataforce.net> References: <20071031051501.GA13046@cannabis.dataforce.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1557430.fP3DkpHLDJ Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Probably the sticky bit on your parent directory is set. (someth. like=20 dswxs-xs-x) Am Mittwoch 31 Oktober 2007 05:15 schrieb Alesha Vlasov: > Hi. > > Linux: > $ id > uid=3D42451(u42451) gid=3D155(clients) groups=3D155(clients), 42451(u4245= 1) > > $ ls -la > drwx--x--- 7 u42451 www 512 29 oct 19:33 . > drwxr-x--x 254 root wheel 79872 29 oct 19:28 .. > drwx---r-x 16 u42451 clients 1024 29 oct 18:34 http > > $ mkdir test > $ ls -ld test > drwxr-xr-x 2 u42451 clients 512 29 oct 19:39 test > > it means that dirs are always made with primary usergroup. > > FreeBSD: > Everithing the same but, > $ mkdir test > $ ls -ld test > drwxr-xr-x 2 u42451 www 512 29 oct 19:39 test it means the group is > alway inherited from parent dir. > > Can I make this as in linux? > Thanks. > > -- > BRGDS. Alesha Vlasov. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --nextPart1557430.fP3DkpHLDJ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBHKUp44xizT/jJ1lERAu2BAJ0RfWZljrrZBozR/k1cDcfX6eFjRACeL5Eo Vdy8wXvMWz8jgfJpTVDYuSY= =wmMp -----END PGP SIGNATURE----- --nextPart1557430.fP3DkpHLDJ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711010339.36354.elrap>