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 020511381F4 for ; Fri, 17 Aug 2012 09:12:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C220FE0733; Fri, 17 Aug 2012 09:11:30 +0000 (UTC) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) by pigeon.gentoo.org (Postfix) with ESMTP id EAB0A21C026 for ; Fri, 17 Aug 2012 09:08:32 +0000 (UTC) Received: by eaan10 with SMTP id n10so959065eaa.40 for ; Fri, 17 Aug 2012 02:08:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:x-mailer:mime-version:content-type :content-transfer-encoding; bh=lxL3oc3PcEJ5thqyr6Nt9Q9fm0xgdPSmJwCeEuWS32Y=; b=XH3nBr+GPBvYkmwUSJTknaD1RRfFUZ6g5qNYGKZ/tfDOrD4BV+rQmNCJoBL/GaFbRR piElVfrd2Ioy7iMBAE5+w+cXe0rcABY3nYMoMlLsXu/d/EZMEFQpl5nlp3Rr755i5jxU bAx3Z7Er/v6K5e9z6arVz5Lp68E+aKnYvD0SQPez9CFPs3tnTVJ6Y6pB4TfhHSBcTDte Q6ZD0WvfzalOXQlGP821MGZwUskdLz3P/D5aBK+N+jv+P9/eUwZga4SeC5i2FBdD2Qn8 pPGos7cO3/JqAFUJvJiJFqfwalBLYlBrgnQML1yqWvpVfjv+ciRwC1FHGbxZK9KesHdT GGTg== Received: by 10.14.223.72 with SMTP id u48mr5383038eep.37.1345194512118; Fri, 17 Aug 2012 02:08:32 -0700 (PDT) Received: from khamul.example.com (dustpuppy.is.co.za. [196.14.169.11]) by mx.google.com with ESMTPS id a7sm18427264eep.14.2012.08.17.02.08.29 (version=SSLv3 cipher=OTHER); Fri, 17 Aug 2012 02:08:31 -0700 (PDT) Date: Fri, 17 Aug 2012 11:08:26 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Cc: cinder@linuxwaves.com Subject: Re: [gentoo-user] /dev/snd/seq access mode and permission Message-ID: <20120817110826.27ae70fc@khamul.example.com> In-Reply-To: <20120817015434.A25AFA4C@m0005299.ppops.net> References: <20120817015434.A25AFA4C@m0005299.ppops.net> Organization: Internet Solutions X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.11; x86_64-pc-linux-gnu) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: ba3218df-e0c4-413e-ba4d-15ff973143b9 X-Archives-Hash: d406cf02deeaa6de6e059ac1b4fb612d On Fri, 17 Aug 2012 01:54:34 -0700 Cinder wrote: > Hi, how do I make changes to permissions and access mode of device > nodes persistent? At the moment I have to chown and chmod > the /dev/snd/seq node every boot to make it accessible to my user. > the other nodes are fine. Here's the output of ls -l /dev/snd/ > > total 0 > drwxr-xr-x 2 root root 60 Aug 17 18:44 by-path > crw-rw----+ 1 root audio 116, 12 Aug 17 18:44 controlC0 > crw-rw----+ 1 root audio 116, 11 Aug 17 18:44 hwC0D0 > crw-rw----+ 1 root audio 116, 10 Aug 17 18:44 hwC0D3 > crw-rw----+ 1 root audio 116, 9 Aug 17 18:44 hwC0D4 > crw-rw----+ 1 root audio 116, 8 Aug 17 18:44 hwC0D5 > crw-rw----+ 1 root audio 116, 7 Aug 17 18:44 pcmC0D0c > crw-rw----+ 1 root audio 116, 6 Aug 17 18:44 pcmC0D0p > crw-rw----+ 1 root audio 116, 5 Aug 17 18:44 pcmC0D1p > crw-rw----+ 1 root audio 116, 4 Aug 17 18:44 pcmC0D3p > crw-rw----+ 1 root audio 116, 3 Aug 17 18:44 pcmC0D7p > crw-rw----+ 1 root audio 116, 2 Aug 17 18:44 pcmC0D8p > crw------- 1 root root 116, 1 Aug 17 18:44 seq > crw-rw----+ 1 root audio 116, 33 Aug 17 18:44 timer > > I need /dev/snd/seq to look look the others. I can't find the udev > rule or configuration that creates these nodes. Many thanks for any > consideration. If there's no explicit rule, then it's automagic. But you can still additionally tell udev how to set the mode and owner. Here's an example, Google knows more (this stuff does seem to change quite a lot): http://www.reactivated.net/writing_udev_rules.html#ownership -- Alan McKinnon alan.mckinnon@gmail.com