Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /dev/shm permissions drwxr-xr-x root:root ?
Date: Sat, 29 Dec 2012 00:18:55
Message-Id: 20121229001719.GA5130@waltdnes.org
In Reply to: Re: [gentoo-user] /dev/shm permissions drwxr-xr-x root:root ? by William Kenworthy
1 On Fri, Dec 28, 2012 at 02:10:26PM +0800, William Kenworthy wrote
2 > On 28/12/12 11:25, Walter Dnes wrote:
3 > > chmod 755 /dev/shm/hello
4 > > /dev/shm/hello
5 >
6 > as a user (not root)
7 >
8 > wdk@moriah /home/vm/qemu/mail $ vi /dev/shm/hello
9 > wdk@moriah /home/vm/qemu/mail $ chmod 755 /dev/shm/hello
10 > wdk@moriah /home/vm/qemu/mail $ /dev/shm/hello
11 > Hello World
12 > wdk@moriah /home/vm/qemu/mail $
13 >
14 > worked fine.
15 >
16 > and
17 >
18 > moriah ~ # mount|grep shm
19 > none on /dev/shm type tmpfs (rw,relatime)
20 > moriah ~ #
21
22 Are you on regular udev? I thought that /dev/shm was supposed to be
23 noexec as a security measure.
24
25 --
26 Walter Dnes <waltdnes@××××××××.org>
27 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] /dev/shm permissions drwxr-xr-x root:root ? Dale <rdalek1967@×××××.com>
Re: [gentoo-user] /dev/shm permissions drwxr-xr-x root:root ? William Kenworthy <billk@×××××××××.au>