From owner-freebsd-stable Fri Aug 30 2: 2:16 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BBB737B400 for ; Fri, 30 Aug 2002 02:02:12 -0700 (PDT) Received: from ans.signature.nl (ans.signature.nl [213.133.38.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id C618C43E3B for ; Fri, 30 Aug 2002 02:02:11 -0700 (PDT) (envelope-from bit@signature.nl) Received: by ans.signature.nl (Postfix, from userid 1000) id 660F23E2F; Fri, 30 Aug 2002 11:02:04 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by ans.signature.nl (Postfix) with ESMTP id 63E292107; Fri, 30 Aug 2002 11:02:04 +0200 (CEST) Date: Fri, 30 Aug 2002 11:02:04 +0200 (CEST) From: Bart Smit X-X-Sender: bit@localhost To: Mario Pranjic Cc: freebsd-stable@freebsd.org Subject: Re: /etc/fstab -> uid=? In-Reply-To: Message-ID: <20020830105326.O63350-100000@localhost> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 30 Aug 2002, Mario Pranjic wrote: > I apologize for this rather stupid question, but mount on FreeBSD is a bit > different comparing to mount on Linux. Don't know much about Linux, but I bet you're right ;-) > I need to mount one filesystem with the ownership of some UID other than > root. I assume that your are referring to a non-unix filesystem. Unix filesystems have the ownership of the files stored in themselves and I don't think that you can change it by some mount options. > On Linux I could put uid=xx, gid=yy in /etc/fstab after 'rw' option, but > FreeBSD doesn't seem to have that option. For FAT filesystems, use the -u and -g options. See man mount_msdos. Generally, see man mount_. Alternatively you can simply mount an msdos filesystem on a directory with the desired owner/group. Under FreeBSD, an msdos filesystem takes the ownership from the mount point by default. --Bart To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message