Gentoo Archives: gentoo-dev

From: "Kevin N. Carpenter" <kevinc@××××××××.org>
To: gentoo-dev@g.o
Subject: [gentoo-dev] /var/tmp world rwx?
Date: Fri, 03 Jan 2003 22:46:24
Message-Id: 3E1611D7.5020400@seaplace.org
1 I've been playing around with using tmpfs for /tmp and had it mounted
2 with my standard "noexec,nodev,nosuid" anti-hack security options. This
3 works fine for VI or other normal tools.
4
5 I wanted Portage to use it as well, to symbolically linked /var/tmp to /tmp.
6
7 That broke emerge. The "noexec" option prevents any builds from
8 working. That made me check one of my unmodified gentoo systems where I
9 spotted that /var/tmp was world read/execute. That's a security problem.
10
11 Any reason that /var/tmp can't be root read/execute only?
12
13 Kevin C.
14
15
16 --
17 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] /var/tmp world rwx? Paul de Vrieze <gentoo-user@××××××××.net>
Re: [gentoo-dev] /var/tmp world rwx? Sven Vermeulen <sven.vermeulen@××××××.be>