Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2001 20:58:58 -0700
From:      "Crist J. Clark" <cristjc@earthlink.net>
To:        Elden Fenison <moon_dog@spamcop.net>
Cc:        The Psychotic Viper <psyv@sec-it.net>, Radhika Sambamurti <radhika_narendran@yahoo.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: chmod as root not working
Message-ID:  <20011003205858.M8391@blossom.cjclark.org>
In-Reply-To: <20011003184306.C25130@moondog.org>; from moon_dog@spamcop.net on Wed, Oct 03, 2001 at 06:43:06PM -0700
References:  <20011004005721.90800.qmail@web9302.mail.yahoo.com> <20011004031029.W40303-100000@lucifer.fuzion.ath.cx> <20011003184306.C25130@moondog.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 03, 2001 at 06:43:06PM -0700, Elden Fenison wrote:
> * On Thu, Oct 04, 2001 at 03:15:53AM +0200, The Psychotic Viper wrote:
> > Thats because windows and their filesystems (fat or ntfs) dont support
> > unix type permission structures.You wont be able to change file
> > permissions throught the "conventional" manner using chmod.
> 
> Linux allows for uid= and gid= in fstab. By using that you can set
> global ownership on the mounted network share. Unfortunately, I'm not
> certain whether that same thing works under FreeBSD or not. I've tried
> it once and failed, but not looked much further into it.

FreeBSD does. See mount_msdos(8). There are two different ways to
specify the owner of an MSDOS filesystem. One is to explicitly provide
'-u' and/or '-g' arguments to the mount command. The second is the
default when no such arguments are provided. The filesystem is given
the same ownership as the directory the filesystem is mounted on.
-- 
Crist J. Clark                           cjclark@alum.mit.edu
                                         cjclark@jhu.edu
                                         cjc@freebsd.org

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?20011003205858.M8391>