Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 17:30:33 -0300
From:      Alejandro Pulver <alejandro@varnet.biz>
To:        brianjohn@fusemail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: permissions on partition?
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Mar 2005 13:44:21 -0600 (CST)
"Brian John" <brianjohn@fusemail.com> wrote:

> > "Brian John" <brianjohn@fusemail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050314173033.6c7780a2>