Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Weirdness with /tmp

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Arwed von Merkatz <v.merkatz AT gmx.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Weirdness with /tmp
  • Date: Wed, 18 May 2005 23:14:18 +0200

On Wed, May 18, 2005 at 02:06:26PM -0700, Eric Sandall wrote:
> Quoting "Sergey A. Lipnevich" <sergey AT optimaltec.com>:
> > It's wasn't the sticky bit. /tmp has to be writable by the world even
> > before
> > sticky bit comes into play. I may be wrong but 0755 means nobody but root
> > can
> > create files in /tmp, which would render the system unusable.
> <snip>
>
> I had a few exceptions in there (namely /root, /var/tmp and /tmp): here's
> what I
> had for /tmp (similar for /var/tmp):
> chmod 0777 $INSTALL_ROOT/var/tmp
>
> So all I did was remove the sticky bit from what we normally have. I didn't
> change /tmp otherwise.

Actually you did ;)
The smgl-fhs spell did create /tmp like all other directories with 0755
and then added the sticky bit to it. Now it creates it with permissions
1777.

--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page