Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2009 12:34:21 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-questions@FreeBSD.ORG, aryeh.friedman@gmail.com
Subject:   Re: How to set device permissions at startup
Message-ID:  <200910091034.n99AYLwH015037@lurza.secnetix.de>
In-Reply-To: <4ACED156.1030609@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Aryeh M. Friedman wrote:
 > Herbert J. Skuhra wrote:
 > > Den 9. okt. 2009 kl. 05.25 skrev "Aryeh M. Friedman" 
 > > <aryeh.friedman@gmail.com>:
 > > 
 > > > Since certain currently unused devices are not created in /dev 
 > > > (specifically in my case /dev/fuse*) how do I tell what ever (I can't 
 > > > tell it is devfs or what) to always make /dev/fuse* (when needed) 
 > > > with 777 perms (the security implications are not an issue here)
 > > 
 > > Have you tried devfs.rules(5)?
 > 
 > yes and since the device doesn't exist at the mount time for devfs they 
 > are ignored

Then you did something wrong, or you're confusing devfs.rules
and devfs.conf.

Quote from the manpage:
"The devfs.rules file provides an easy way to create and apply
devfs(8) rules, even for devices that are not available at boot."

The rules take effect whenever a new node (devide) appears,
even after devfs was mounted.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"Python is an experiment in how much freedom programmers need.
Too much freedom and nobody can read another's code; too little
and expressiveness is endangered."
        -- Guido van Rossum



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910091034.n99AYLwH015037>