Date: Fri, 30 Aug 2002 11:02:04 +0200 (CEST) From: Bart Smit <bit@signature.nl> To: Mario Pranjic <mario.pranjic@irb.hr> Cc: freebsd-stable@freebsd.org Subject: Re: /etc/fstab -> uid=? Message-ID: <20020830105326.O63350-100000@localhost> In-Reply-To: <Pine.GSO.4.32.0208300956120.14369-100000@nippur.irb.hr>
next in thread | previous in thread | raw e-mail | index | archive | help
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_<fstype>. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020830105326.O63350-100000>