From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FonBX-0000vM-Ta for garchives@archives.gentoo.org; Fri, 09 Jun 2006 20:02:24 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k59JxmA5017911; Fri, 9 Jun 2006 19:59:48 GMT Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.206]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k59JoqH1025468 for ; Fri, 9 Jun 2006 19:50:53 GMT Received: by wx-out-0102.google.com with SMTP id s18so542427wxc for ; Fri, 09 Jun 2006 12:50:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=fF35ECFYY1sqCfOciHHDtiQq+qNcHpsPgNoA1DrQLQg/TTGQ2vX9md6pXhSL45efo8SukrO5Z29r+1MBLa75c+RGraQtprXayhsOSA5DOFZFVZrB7RJ9e/3gIclAq9AaS+aMq8El8YX2v3tHgjIWmQH+EY50lApbIyCPrZGyjZo= Received: by 10.70.10.2 with SMTP id 2mr3841562wxj; Fri, 09 Jun 2006 12:50:51 -0700 (PDT) Received: by 10.70.96.6 with HTTP; Fri, 9 Jun 2006 12:50:51 -0700 (PDT) Message-ID: <7573e9640606091250p3b349714wfee4a025a822eadb@mail.gmail.com> Date: Fri, 9 Jun 2006 12:50:51 -0700 From: "Richard Fish" Sender: richard.j.fish@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] help with UDEV and USB flash drive In-Reply-To: <200606091921.k59JLqal024773@robin.gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20060609093529.68dcb2fb@hactar.digimed.co.uk> <200606091921.k59JLqal024773@robin.gentoo.org> X-Google-Sender-Auth: 04e7b7e824a353ac X-Archives-Salt: d0721b12-6fa9-48fe-98b3-2acd8992a2a6 X-Archives-Hash: 16b574a0e52b2f495b930bae80b56690 On 6/9/06, Daevid Vincent wrote: > Thanks everybody that was the trick. I settled upon this: > > BUS=="usb", KERNEL=="sd?1", SYSFS{idVendor}=="0ef5", > SYSFS{idProduct}=="2202", SYMLINK="istick%n", MODE="0666" One problem with this. Udev will apply all matching rules until it finds one with a NAME entry. So you probably want MODE:="0666" to prevent any later rules from overwriting your mode. -Richard -- gentoo-user@gentoo.org mailing list