Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2017 16:42:26 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Gerard Seibert <carmel_ny@outlook.com>
Cc:        "freebsd-questions\@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Unable to change ownership on USB device
Message-ID:  <447f5qloal.fsf@be-well.ilk.org>
In-Reply-To: <CY4PR20MB139712D6DDA57E1A6F7BFB5A807E0@CY4PR20MB1397.namprd20.prod.outlook.com> (Gerard Seibert's message of "Thu, 19 Jan 2017 21:24:47 %2B0000")
References:  <CY4PR20MB139712D6DDA57E1A6F7BFB5A807E0@CY4PR20MB1397.namprd20.prod.outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Gerard Seibert <carmel_ny@outlook.com> writes:

> I have several USB devices, all formatted with FAT32 or exFat. I can
> mount them on my FreeBSD 11 machine; however, I cannot change the file
> ownership on the device. I have a rsync script for backing up the
> "/var/mail/vmail" and it subdirectories that are created by dovecot. I
> cannot use the script to back up to the USB drive since it cannot
> change the file ownership.
>
> I hope I am explaining this correctly. My question is how do I change
> the ownership of a mounted USB drive formated with FAT32 or exFat?

It's an option to the mount command.
If you're using the one from the base system, see "man mount_msdosfs".



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