Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2008 19:53:32 +0000
From:      lysergius2001 <lysergius2001@gmail.com>
To:        "Eygene Ryabinkin" <rea-fbsd@codelabs.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: modifying permissions in /dev
Message-ID:  <a558ebe30802071153s63384adfpcf6fd39361091ce7@mail.gmail.com>
In-Reply-To: <EWfFXqlDPOGuDPqUv/sfqlOAXfE@G5eHikUBJqgelgsfT8pvZv7m%2B/A>
References:  <%2BOslp5zezDUHSfXCT9N9C5qGZIo@4emqrsZRSNlbYTMRNETK7AEirXc> <20080207184604.217E345010@ptavv.es.net> <EWfFXqlDPOGuDPqUv/sfqlOAXfE@G5eHikUBJqgelgsfT8pvZv7m%2B/A>

next in thread | previous in thread | raw e-mail | index | archive | help
Apologies for the top post?  Looks like I need a lesson in etiquette as well
as devfs.

The problem is this.  I have two boxes running 6.3-stable.  One is i386 and
the other is amd64.  Identical setups as near as I can make it.  the 386 box
allows mounting floppy from kde, but does not find cd0 in k3b.  The amd64
box finds cd0 in k3b but will not allow mounting floppy in kde?

I have vfs.usermount= 1 in sysctl.conf on both boxes.

I have identical devfs.conf and devfs.rules.  hald is running on both
boxes.  rc.conf is identical on both boxes.  I am baffled, stumped and
getting confused...

Can I go back to the basics somehow and work through the set up logically?

...all assistance gratefully appreciated.

Oh, and yes, surviving boot would be good...

On Feb 7, 2008 7:09 PM, Eygene Ryabinkin <rea-fbsd@codelabs.ru> wrote:

> 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
>



-- 
Lysergius says "Stay light and trust gravity"



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