Re: Primary group and parent dir
- From: James <oscartheduck@xxxxxxxxx>
- Date: Wed, 31 Oct 2007 08:21:49 -0600
On 10/30/07, Alexey Vlasov <renton@xxxxxx> wrote:
Hi.
Linux:
$ id
uid=42451(u42451) gid=155(clients) groups=155(clients), 42451(u42451)
$ 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@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "
freebsd-questions-unsubscribe@xxxxxxxxxxx"
I'd never noticed this before; does BSD *always* inherit its group
permission from the parent directory? It looks like that.
I'd imagine there's a way to change this somewhere, but it would involve a
kernel patch or something. Inheritance of permissions are pretty low level.
James
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Primary group and parent dir
- From: James
- Re: Primary group and parent dir
- References:
- Primary group and parent dir
- From: Alexey Vlasov
- Primary group and parent dir
- Prev by Date: Re: Virtualization
- Next by Date: Re: Help with Cron pleazzzzzzzzzzzz
- Previous by thread: Primary group and parent dir
- Next by thread: Re: Primary group and parent dir
- Index(es):
Relevant Pages
|
|