From owner-freebsd-questions@FreeBSD.ORG Wed Jan 17 09:00:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B70F816A407 for ; Wed, 17 Jan 2007 09:00:24 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout4.cac.washington.edu (mxout4.cac.washington.edu [140.142.33.19]) by mx1.freebsd.org (Postfix) with ESMTP id 6466B13C44C for ; Wed, 17 Jan 2007 09:00:24 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout4.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l0H90ND9030327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 17 Jan 2007 01:00:24 -0800 X-Auth-Received: from [192.168.0.102] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW06.09) with ESMTP id l0H90NB6028847 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Wed, 17 Jan 2007 01:00:23 -0800 Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <200701170004.40342.odilist@sonic.net> References: <200701170004.40342.odilist@sonic.net> X-Gpgmail-State: !signed Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Garrett Cooper Date: Wed, 17 Jan 2007 01:00:23 -0800 To: FreeBSD Questions X-Mailer: Apple Mail (2.752.2) X-PMX-Version: 5.2.2.285561, Antispam-Engine: 2.5.0.283055, Antispam-Data: 2007.1.17.4933 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0' Subject: Re: newbie permissions problems... what's wrong? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 09:00:24 -0000 On Jan 17, 2007, at 12:04 AM, Oliver Iberien wrote: > I am logged in as oliver. I have two extra partitions mounted. > Below is the > section of devfs.conf that has to do with them: > > #Allow access to the second disk > own /dev/ad1s2c oliver:wheel > perm /dev/ad1s2c 0666 > own /disk2 oliver:wheel > perm /disk2 0666 > > #Allow access to disk3 > own /dev/ad2s2c oliver:wheel > perm /dev/ad2s2c 0666 > own /disk3 oliver:wheel > perm /disk3 0666 > > And the permissions that display are: > > $ ls -l / | grep disk > drw-rw-rw- 3 oliver wheel 2048 Jan 16 23:13 disk2 > drw-rw-rw- 6 oliver wheel 512 Dec 21 23:01 disk3 > > But.... > > $ mkdir /disk2/storage > mkdir: /disk2/storage: Permission denied > > Although as a superuser, it works. > > $ sudo mkdir /disk2/storage > Password: > $ > > What is going on? > > Thanks, > > Oliver Missing executable permission (required for viewing directories / executing binaries, scripts)? Try 0775 (that's a decent permissions setup--read, write, exec for oliver and wheel group; read, write for all) or 0770 (read, write for oliver / wheel group, permission denied for all) or something similar. You can also run chmod or chown as root to set things up properly, instead of with /etc/devfs.conf (if you don't mind that). -Garrett