Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2002 21:46:20 +0200 (SAST)
From:      Willie Viljoen <will@laserfence.net>
To:        Alex Popa <razor-bsd-security@ldc.ro>
Cc:        security@freebsd.org
Subject:   Re: strange behaviour on /tmp
Message-ID:  <20020323214535.Y212-100000@phoenix.vh.laserfence.net>
In-Reply-To: <20020323214227.A37349@ldc.ro>

next in thread | previous in thread | raw e-mail | index | archive | help
The mode 1777 turns on the sticky bit, hence, any write to /tmp is created
as the owner of /tmp.

On Sat, 23 Mar 2002, Alex Popa wrote:

> I have /tmp mode 1777, and mounted like this in fstab:
> "/dev/something		tmp            ufs     rw,nosuid,nodev 2 2"
>
> The thing I am noticing is that all files created under /tmp get
> to be created as group wheel, no matter of the permissions of the
> directory they are created in, or the user that creates them.
>
> Is this expected behaviour?
>
> I am running -STABLE, FreeBSD 4.5-STABLE #0: Thu Mar  7 22:11:39 EET 2002
> Cvsup was done two hours before the compilation time.
>
> Any ideas?
>
> ------------+------------------------------------------
> Alex Popa,  |  "Artificial Intelligence is
> razor@ldc.ro|         no match for Natural Stupidity"
> ------------+------------------------------------------
> "It took the computing power of three C-64s to fly to the Moon.
> It takes a 486 to run Windows 95. Something is wrong here."
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-security" in the body of the message
>
>
>

-- 
Willie Viljoen
Private IT Consultant

214 Paul Kruger Avenue
Universitas
Bloemfontein
9321

South Africa

+27 51 522 15 60, a/h +27 51 522 44 36
+27 82 404 03 27

will@laserfence.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020323214535.Y212-100000>