1 |
Walter Dnes wrote: |
2 |
> On Fri, Dec 28, 2012 at 07:23:33PM -0600, Dale wrote |
3 |
> |
4 |
>> Here is some info on mine, while you are waiting on William. |
5 |
>> |
6 |
>> root@fireball / # ls -al /dev/shm |
7 |
>> total 4 |
8 |
>> drwxrwxrwt 2 root root 60 Dec 3 18:20 . |
9 |
>> drwxr-xr-x 17 root root 4360 Dec 28 15:30 .. |
10 |
>> -rwxr-xr-x 1 dale users 32 Dec 3 18:20 sem.lastpassffsemaphore |
11 |
>> root@fireball / # equery list udev |
12 |
>> * Searching for udev ... |
13 |
>> [IP-] [ ] sys-fs/udev-171-r9:0 |
14 |
>> root@fireball / # |
15 |
>> |
16 |
>> Does that help any? If I read that correctly, it is executable. At |
17 |
>> least it is for the one that is there. |
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 |
Mine does this: |
31 |
|
32 |
root@fireball / # chmod 755 /dev/shm/hello |
33 |
root@fireball / # /dev/shm/hello |
34 |
-su: /dev/shm/hello: Permission denied |
35 |
root@fireball / # ls -al /dev/shm/hello |
36 |
-rwxr-xr-x 1 root root 31 Dec 28 23:08 /dev/shm/hello |
37 |
root@fireball / # cat /etc/fstab | grep shm |
38 |
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for |
39 |
# POSIX shared memory (shm_open, shm_unlink). |
40 |
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 |
41 |
root@fireball / # |
42 |
|
43 |
So I get permission denied too. I did that as root to I might add in |
44 |
case you don't notice. |
45 |
|
46 |
That help? |
47 |
|
48 |
Dale |
49 |
|
50 |
:-) :-) |
51 |
|
52 |
-- |
53 |
I am only responsible for what I said ... Not for what you understood or how you interpreted my words! |