From owner-freebsd-questions@FreeBSD.ORG Mon Mar 14 20:29:52 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A97C16A4CE for ; Mon, 14 Mar 2005 20:29:52 +0000 (GMT) Received: from relay.pair.com (relay00.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 6FCE743D39 for ; Mon, 14 Mar 2005 20:29:51 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 42633 invoked from network); 14 Mar 2005 20:29:50 -0000 Received: from unknown (HELO ale.varnet.bsd) (unknown) by unknown with SMTP; 14 Mar 2005 20:29:50 -0000 X-pair-Authenticated: 200.115.214.28 Date: Mon, 14 Mar 2005 17:30:33 -0300 From: Alejandro Pulver To: brianjohn@fusemail.com Message-ID: <20050314173033.6c7780a2@ale.varnet.bsd> In-Reply-To: <3018.209.87.176.4.1110829461.fusewebmail-19592@webmail.fusemail.com> References: <3018.209.87.176.4.1110829461.fusewebmail-19592@webmail.fusemail.com> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: Lowell Gilbert cc: freebsd-questions@freebsd.org Subject: Re: permissions on partition? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Mar 2005 20:29:52 -0000 On Mon, 14 Mar 2005 13:44:21 -0600 (CST) "Brian John" wrote: > > "Brian John" writes: > > > > > Hello, I have a FAT partition on ad0s3 that I am sharing with > > > Windows. For one reason or another everything on this partition is > > > owned by root:wheel. I can't change the permissions to any files > > > on this partition. This is what I have in devfs.conf: > > > own ad0s3 brian:operator > > > perm ad0s3 0660 > > > > > > Is this correct? How can I make it so that files on this > > > partition are owned by the 'brian' user? > > > > There are several approaches described in the manual for > > mount_msdosfs(8). > > > > Changing the permissions on the mount point would probably be the > > easiest.__ > When I try to change the permissions on the mount point this is what > happens:# chown brian:operator /shared > chown: /shared: Invalid argument > > This is the same thing that happens when I try to change permissions > on any files on the partition. Am I doing something wrong? > > Thanks > > /Brian > Hello, Have you tried changing the permissions of the directory when the MS-DOS filesystem is not mounted, and after that mount it? Best Regards, Ale