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%2B/A>
In-Reply-To: <20080207184604.217E345010@ptavv.es.net>
References:  <%2BOslp5zezDUHSfXCT9N9C5qGZIo@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: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EWfFXqlDPOGuDPqUv/sfqlOAXfE>