Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 2004 15:08:46 +0000
From:      Dick Davies <rasputnik@hellooperator.net>
To:        Graham Bentley <gbentley@uk2.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: User CD Mount
Message-ID:  <20041120150846.GB26308@lb.tenfour>
In-Reply-To: <20041120110353.06e8ee1d.gbentley@uk2.net>
References:  <20041120110353.06e8ee1d.gbentley@uk2.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Graham Bentley <gbentley@uk2.net> [1103 15:03]:
> 
> Hi All,
> 
> I am trying to get permission to mount CD's when logged in non root
> Following the handbook advice I have :-
> 
> As root set the sysctl variable vfs.usermount to 1.
> # sysctl -w vfs.usermount=1
> Added the line vfs.usermount=1 to the file /etc/sysctl.conf
> 
> Changed group perms on devs
> # chgrp operator /dev/acd0
> # chgrp operator /dev/acd1
> 
> Changed access perms
> # chmod 640 /dev/acd0
> # chmod 640 /dev/acd1
> 
> Changed group perms on the mount points
> # chgrp operator /cdrom
> # chgrp operator /cdrom1
> 
> Added myself to the operator group in /etc/group
> operator:*:5:root,graham
> 
> However non of this worked - I could still not mount as non root
> even though I was in the operator group.

You need to own the mount point, I think - group writablity is'nt
enough.
 

-- 
common sense is what tells you that the world is flat. - Principia Discordia
Rasputin :: Jack of All Trades - Master of Nuns



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