Walter Dnes wrote:
> On Fri, Dec 28, 2012 at 02:10:26PM +0800, William Kenworthy wrote
>> On 28/12/12 11:25, Walter Dnes wrote:
>>> chmod 755 /dev/shm/hello
>>> /dev/shm/hello
>> as a user (not root)
>>
>> wdk@moriah /home/vm/qemu/mail $ vi /dev/shm/hello
>> wdk@moriah /home/vm/qemu/mail $ chmod 755 /dev/shm/hello
>> wdk@moriah /home/vm/qemu/mail $ /dev/shm/hello
>> Hello World
>> wdk@moriah /home/vm/qemu/mail $
>>
>> worked fine.
>>
>> and
>>
>> moriah ~ # mount|grep shm
>> none on /dev/shm type tmpfs (rw,relatime)
>> moriah ~ #
>   Are you on regular udev?  I thought that /dev/shm was supposed to be
> noexec as a security measure.
>

Here is some info on mine, while you are waiting on William.

root@fireball / # ls -al /dev/shm
total 4
drwxrwxrwt  2 root root    60 Dec  3 18:20 .
drwxr-xr-x 17 root root  4360 Dec 28 15:30 ..
-rwxr-xr-x  1 dale users   32 Dec  3 18:20 sem.lastpassffsemaphore
root@fireball / # equery list udev
 * Searching for udev ...
[IP-] [  ] sys-fs/udev-171-r9:0
root@fireball / #

Does that help any?  If I read that correctly, it is executable.  At
least it is for the one that is there.

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!


Reply via email to