modifying permissions in /dev

lysergius2001 lysergius2001 at gmail.com
Thu Feb 7 11:53:35 PST 2008


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


More information about the freebsd-net mailing list