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 02:24:54
Message-Id: 20121229022315.GA5340@waltdnes.org
In Reply to: Re: [gentoo-user] /dev/shm permissions drwxr-xr-x root:root ? by Dale
1 On Fri, Dec 28, 2012 at 07:23:33PM -0600, Dale wrote
2
3 > Here is some info on mine, while you are waiting on William.
4 >
5 > root@fireball / # ls -al /dev/shm
6 > total 4
7 > drwxrwxrwt 2 root root 60 Dec 3 18:20 .
8 > drwxr-xr-x 17 root root 4360 Dec 28 15:30 ..
9 > -rwxr-xr-x 1 dale users 32 Dec 3 18:20 sem.lastpassffsemaphore
10 > root@fireball / # equery list udev
11 > * Searching for udev ...
12 > [IP-] [ ] sys-fs/udev-171-r9:0
13 > root@fireball / #
14 >
15 > Does that help any? If I read that correctly, it is executable. At
16 > least it is for the one that is there.
17
18 Can you create the sample script on /dev/shm, chmod it 755, and try
19 to run it. The "noexec" mount option over-rides attributes that chmod
20 sets. E.g. on my machine...
21
22 [d531][waltdnes][~] chmod 744 /dev/shm/hw
23 [d531][waltdnes][~] ll /dev/shm/hw
24 -rwxr--r-- 1 waltdnes users 32 Dec 27 19:10 /dev/shm/hw
25 [d531][waltdnes][~] /dev/shm/hw
26 bash: /dev/shm/hw: Permission denied
27 [d531][waltdnes][~]
28
29 --
30 Walter Dnes <waltdnes@××××××××.org>
31 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>