[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sticky directory bit vs. loginfo chgrp
From: |
Larry Jones |
Subject: |
Re: sticky directory bit vs. loginfo chgrp |
Date: |
Thu, 22 Feb 2001 13:35:05 -0500 (EST) |
Laine Stump writes:
>
> Although I remember doing this on a Solaris server in the past
> (getting new directories and files to be in the proper group, with
> proper permissions, by setting the setgid bit on the cvsroot
> directory), I've been trying to make this work on NetBSD and it
> doesn't. For example:
>
> # ls -ld .
> drwxrwsr-x 9 root staff 512 Feb 22 12:34 ./
> # mkdir test
> # ls -ld test
> drwxr-xr-x 2 laine staff 512 Feb 22 12:35 test/
>
> What am I missing?
sgid only affects the group, not the permissions. (And it's the way BSD
traditionally behaves, so you probably don't need it on NetBSD.)
-Larry Jones
Sheesh. Who can fathom the feminine mind? -- Calvin