On Thu, Feb 20, 2003 at 03:14:40PM +, Ceri Davies wrote:
> > Really? I thought setting the sgid bit on a directory caused this
> > behaviour...
>
> On Solaris, yes.
>
> On BSD, no.
> New files take on the same group ownership as the directory they are in.
Thanks, Ceri, I wasn't aware of tha
On Thu, Feb 20, 2003 at 03:13:18PM +, Ceri Davies wrote:
> That's not correct (although it would be on Solaris).
> It's because /tmp is group-owned by wheel.
sorry for that, i was to fast with my assumptions...
lg
--
Terror ist der Krieg der Armen, | [EMAIL PROTECTED]
Krieg ist der Terror
On Thu, Feb 20, 2003 at 03:13:18PM +, Ceri Davies wrote:
> On Thu, Feb 20, 2003 at 04:01:28PM +0100, Toni Schmidbauer wrote:
> > On Thu, Feb 20, 2003 at 09:37:10AM -0500, Tuc wrote:
> > > -rw-r--r-- 1 tuc wheel 0 Feb 20 09:35 /tmp/tuc
> >
> > pinhead@aeolus [/tmp] $ ls -ld /tmp/
> > drwxrwx
On Thu, Feb 20, 2003 at 03:11:18PM +, Daniel Bye wrote:
> On Thu, Feb 20, 2003 at 04:01:28PM +0100, Toni Schmidbauer wrote:
> > On Thu, Feb 20, 2003 at 09:37:10AM -0500, Tuc wrote:
> > > -rw-r--r-- 1 tuc wheel 0 Feb 20 09:35 /tmp/tuc
> >
> > pinhead@aeolus [/tmp] $ ls -ld /tmp/
> > drwxrwxr
On Thu, Feb 20, 2003 at 04:01:28PM +0100, Toni Schmidbauer wrote:
> On Thu, Feb 20, 2003 at 09:37:10AM -0500, Tuc wrote:
> > -rw-r--r-- 1 tuc wheel 0 Feb 20 09:35 /tmp/tuc
>
> pinhead@aeolus [/tmp] $ ls -ld /tmp/
> drwxrwxrwt 14 root wheel 1536 Feb 20 15:57 /tmp//
>
> the sticky bit set for
On Thu, Feb 20, 2003 at 04:01:28PM +0100, Toni Schmidbauer wrote:
> On Thu, Feb 20, 2003 at 09:37:10AM -0500, Tuc wrote:
> > -rw-r--r-- 1 tuc wheel 0 Feb 20 09:35 /tmp/tuc
>
> pinhead@aeolus [/tmp] $ ls -ld /tmp/
> drwxrwxrwt 14 root wheel 1536 Feb 20 15:57 /tmp//
>
> the sticky bit set for
>
> On Thu, Feb 20, 2003 at 09:37:10AM -0500, Tuc wrote:
> > -rw-r--r-- 1 tuc wheel 0 Feb 20 09:35 /tmp/tuc
>
> pinhead@aeolus [/tmp] $ ls -ld /tmp/
> drwxrwxrwt 14 root wheel 1536 Feb 20 15:57 /tmp//
>
> the sticky bit set for /tmp. thats the reason why all files have
> gid wheel.
>
> se
On Thu, Feb 20, 2003 at 09:37:10AM -0500, Tuc wrote:
> -rw-r--r-- 1 tuc wheel 0 Feb 20 09:35 /tmp/tuc
pinhead@aeolus [/tmp] $ ls -ld /tmp/
drwxrwxrwt 14 root wheel 1536 Feb 20 15:57 /tmp//
the sticky bit set for /tmp. thats the reason why all files have
gid wheel.
see sticky(8)
toni
--
T
Hi,
Having an oddity in /tmp on my 4.7-STABLEWhen I create files in
/tmp, they have the wrong group :
himinbjorg% id
uid=1000(tuc) gid=1000(tuc) groups=1000(tuc), 0(wheel)
himinbjorg% ls -l /tmp/tuc
ls: /tmp/tuc: No such file or directory
himinbjorg% touch /tmp/tuc
himinbjorg% ls -l /