Re: Everything on FAT is executable

2005-11-19 Thread Johan Spee
Hi Lowell,

Thanks for your answer.
It took me a while to respond because the message ended op on the
Windows hemisphere of my pc. I also wanted to figure out what 'octal
code' should be added to the -m parameter. I still don't understand the
principle but '-m 333' should allow rw for all and mask x.

I added this to my fstab, but the result is that the drives are no
longer mounted. I'll have to look into that.

thanks again,

-Jay

On 17 Nov 2005 09:21:23 -0500, Lowell Gilbert wrote:
 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.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Everything on FAT is executable

2005-11-17 Thread Blue Raccoon

Newbie question:

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?

Thanks in advance,

-Jay
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Everything on FAT is executable

2005-11-17 Thread Lowell Gilbert
Blue Raccoon [EMAIL PROTECTED] 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.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]