Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2008 22:09:52 +0300
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        Kevin Oberman <oberman@es.net>
Cc:        freebsd-net@freebsd.org, lysergius2001 <lysergius2001@gmail.com>, "Bruce M. Simpson" <bms@freebsd.org>, John-Mark Gurney <jmg@funkthat.com>
Subject:   Re: modifying permissions in /dev
Message-ID:  <EWfFXqlDPOGuDPqUv/sfqlOAXfE@G5eHikUBJqgelgsfT8pvZv7m+/A>
In-Reply-To: <20080207184604.217E345010@ptavv.es.net>
References:  <+Oslp5zezDUHSfXCT9N9C5qGZIo@4emqrsZRSNlbYTMRNETK7AEirXc> <20080207184604.217E345010@ptavv.es.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Kevin, just a side note.

Thu, Feb 07, 2008 at 10:46:04AM -0800, Kevin Oberman wrote:
> > Set vfs.usermount=1 in /etc/sysctl.conf and restart sysctl via
> > '/etc/rc.d/sysctl restart'.  But be aware of security implications:
> > anyone will be able to mount devices that are opened to him/her via
> > filesystem permissions.
> 
> While adding "vfs.usermount=1" to /etc/sysctl is needed to make the
                                    ^^^^^^^^^^^
/etc/sysctl.conf, not just /etc/sysctl

> sysctl carry over reboots, you don't need to start sysctl again. Just:
> sysctl vfs.usermount=1
> will do the trick.

I had the impression that all this /etc/devfs.{rules,conf} stuff
was connected to the fact that lysergius wanted to keep the things
over reboots.  Otherwise simple 'chmod <whatever> <wherever>' will
go.  No?
-- 
Eygene



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?EWfFXqlDPOGuDPqUv/sfqlOAXfE>