From owner-freebsd-questions@freebsd.org Thu Jan 19 21:42:28 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D7159CA691F for ; Thu, 19 Jan 2017 21:42:28 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id B55751ABB for ; Thu, 19 Jan 2017 21:42:28 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 97F5533C22; Thu, 19 Jan 2017 16:42:26 -0500 (EST) From: Lowell Gilbert To: Gerard Seibert Cc: "freebsd-questions\@freebsd.org" Subject: Re: Unable to change ownership on USB device References: Reply-To: freebsd-questions@freebsd.org Date: Thu, 19 Jan 2017 16:42:26 -0500 In-Reply-To: (Gerard Seibert's message of "Thu, 19 Jan 2017 21:24:47 +0000") Message-ID: <447f5qloal.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 21:42:28 -0000 Gerard Seibert 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".