From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 3CB2B1381FB for ; Sat, 29 Dec 2012 01:25:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 18414E06C8; Sat, 29 Dec 2012 01:24:46 +0000 (UTC) Received: from mail-gg0-f175.google.com (mail-gg0-f175.google.com [209.85.161.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B26EAE06C8 for ; Sat, 29 Dec 2012 01:23:37 +0000 (UTC) Received: by mail-gg0-f175.google.com with SMTP id y1so1782585ggc.6 for ; Fri, 28 Dec 2012 17:23:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=Jwwo43a6kteYCsmBy9bwWz4AAf51O7Nd6naGFipmaUw=; b=NuUNuWnbzqEhoGa3b5ge45f0fsCVDzx8V1lElNUWWZzABlpU1OLN+q5Ygz/foJ+n0a jfMuYYqjI9hNXB0vLQ8EEIqGsPQuZJmM/hFvyoHSuPcic8eS9gaY2Ak6t6j4YeVwDmPC 7J1zjKFz1ZExP/BGKUiY2xu9OSCbZbuoSM8OUBNX/3JHof12MO+uCKNq03C2EYhymm7f EzUggd8CX6qJ5NJ4LAwmVrRsJjGf/kZ3jEnoQGVLXrtVj/bdnqkH52rFM4hjKBuRNO// TPxRna4dLfMA1THLnshJfONLvAeKpFHwD0+59Coqur+YZbf7NuCJF8XV9CrhtzXytNoE fYtQ== X-Received: by 10.236.9.36 with SMTP id 24mr32392666yhs.63.1356744216698; Fri, 28 Dec 2012 17:23:36 -0800 (PST) Received: from [192.168.2.5] (adsl-65-0-94-18.jan.bellsouth.net. [65.0.94.18]) by mx.google.com with ESMTPS id e39sm12266621ani.16.2012.12.28.17.23.34 (version=SSLv3 cipher=OTHER); Fri, 28 Dec 2012 17:23:35 -0800 (PST) Message-ID: <50DE4615.50506@gmail.com> Date: Fri, 28 Dec 2012 19:23:33 -0600 From: Dale User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0 SeaMonkey/2.14.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] /dev/shm permissions drwxr-xr-x root:root ? References: <20121227025420.GA6701@waltdnes.org> <50DBBE2E.5080706@gmail.com> <50DBE14D.4020302@iinet.net.au> <20121228032508.GB2060@waltdnes.org> <50DD37D2.7030201@iinet.net.au> <20121229001719.GA5130@waltdnes.org> In-Reply-To: <20121229001719.GA5130@waltdnes.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 190bea09-01d7-4f6a-b051-1433d5251417 X-Archives-Hash: a3b9b2aa10e5c273dfb8f664090abd51 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!