Gentoo Archives: gentoo-user

From: William Kenworthy <billk@×××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] /dev/shm permissions drwxr-xr-x root:root ?
Date: Sat, 29 Dec 2012 01:36:32
Message-Id: 50DE48C7.7030304@iinet.net.au
In Reply to: Re: [gentoo-user] /dev/shm permissions drwxr-xr-x root:root ? by Walter Dnes
1 On 29/12/12 08:17, Walter Dnes wrote:
2 > On Fri, Dec 28, 2012 at 02:10:26PM +0800, William Kenworthy wrote
3 >> On 28/12/12 11:25, Walter Dnes wrote:
4 >>> chmod 755 /dev/shm/hello
5 >>> /dev/shm/hello
6 >>
7 >> as a user (not root)
8 >>
9 >> wdk@moriah /home/vm/qemu/mail $ vi /dev/shm/hello
10 >> wdk@moriah /home/vm/qemu/mail $ chmod 755 /dev/shm/hello
11 >> wdk@moriah /home/vm/qemu/mail $ /dev/shm/hello
12 >> Hello World
13 >> wdk@moriah /home/vm/qemu/mail $
14 >>
15 >> worked fine.
16 >>
17 >> and
18 >>
19 >> moriah ~ # mount|grep shm
20 >> none on /dev/shm type tmpfs (rw,relatime)
21 >> moriah ~ #
22 >
23 > Are you on regular udev? I thought that /dev/shm was supposed to be
24 > noexec as a security measure.
25 >
26 * sys-fs/udev
27 Latest version available: 196-r1
28 Latest version installed: 196-r1
29 Size of downloaded files: 1,922 kB
30 Homepage: http://www.freedesktop.org/wiki/Software/systemd
31 Description: Linux dynamic and persistent device naming support
32 (aka userspace devfs)
33 License: LGPL-2.1 MIT GPL-2
34
35 * sys-fs/udev-init-scripts
36 Latest version available: 18
37 Latest version installed: 18
38 Size of downloaded files: 4 kB
39 Homepage: http://www.gentoo.org
40 Description: udev startup scripts for openrc
41 License: GPL-2
42
43 * virtual/udev
44 Latest version available: 196
45 Latest version installed: 196
46 Size of downloaded files: 0 kB
47 Homepage:
48 Description: Virtual for udev implementation and number of its
49 features
50 License:
51
52
53 I am waiting on eudev so I can dump it, but I also recently found
54 "udevil" and am wondering if anyone can overview it and compare with
55 eudev ... is it a similar project, or just for user mounting?
56
57 BillK

Replies

Subject Author
Re: [gentoo-user] /dev/shm permissions drwxr-xr-x root:root ? Bruce Hill <daddy@×××××××××××××××××××××.com>