Date: 17 Nov 2005 09:21:23 -0500 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: freebsd-questions@freebsd.org Subject: Re: Everything on FAT is executable Message-ID: <44lkznfj8c.fsf@be-well.ilk.org> In-Reply-To: <200511171210.10199.blue.raccoon@wanadoo.nl> References: <200511171210.10199.blue.raccoon@wanadoo.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Blue Raccoon <blue.raccoon@wanadoo.nl> writes: > I have mounted my Windows FAT32 partitions. Read & Write works fine, but every > single file on the mounted drives is 'seen' as executable. And that doesn't > change when a file is copied to the UFS partition. This, I think, is asking > for trouble. > > (How) can I change this? Note that this happens because FAT doesn't have any concept of an executable setting. In most cases, this isn't really a problem, just an annoyance. Users can always change the permissions of files they own anyway. And if they copy something from the FAT partition to the UFS partition, they own the copy. mount_msdosfs(8) has a -m option (and -M, so you can still have the directories executable) to change the observed permissions. It's an all-or-nothing solution, but that's probably what you want anyway.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44lkznfj8c.fsf>