Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jul 2000 16:34:55 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        nwerneck@yahoo.com.br
Cc:        questions@FreeBSD.ORG
Subject:   Re: user mounting by user account using chmod
Message-ID:  <20000701163454.E183@dialin-client.earthlink.net>
In-Reply-To: <20000701211302.4C4DF37B691@hub.freebsd.org>; from nwerneck@yahoo.com.br on Fri, Jun 30, 2000 at 09:19:15PM -0300
References:  <20000701211302.4C4DF37B691@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 30, 2000 at 09:19:15PM -0300, nwerneck@yahoo.com.br wrote:
> Hello.
> 
>  I'm trying to make /dev/fd0, /dev/acd0 and other devices 
> accessible by users, and I want to use the chmod way (as 
> described in the sysadmin FAQ). I used the command
>  chmod 777 /dev/fd0 and it didn't worked.

The chmod(1) did not work? Or after you made the change users still
could not access the device?

>  Another thing: The standard permissions on the files are 640, no
> execution, but the faq (or somewhere else, I don't remember) says 
> that
> the x byte must be set in order to mount any devices... Who's right?

Show us where it says the device needs to have the execute byte set.

>  And: can't I just set the permissions to 770, so the su-capable
> users would access the devices, and other wouldn't?

Sure, that would let users with group ownership of the device use
it. I assume that you are talking about devices with group wheel and
su-capable users are ones in wheel too.

However, you kind of elude to having non-root users use
mount(8). Non-root users cannot mount things. This is a feature, not a
bug. Accessing a device and mounting it are two very different
things.
-- 
Crist J. Clark                           cjclark@alum.mit.edu


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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