Hi all,

I'm trying to mount a fat32 drive with the permissions so the right users (in the group "mine") can read & write to it.

total 8
drwxrwxrwx  19 ben   mine   4.0K Jan  1 13:21 downloads/
drwxrwxr-x   2 ben   mine   512B Jan  1 17:31 drive/

The one I want to mount is "drive". I can mount it properly with mount_msdosfs:

[EMAIL PROTECTED] /mnt]# mount_msdosfs -m 666 -M 777 /dev/ad3s1 /mnt/drive

But I'm not sure how to get mount to call mount_msdosfs with the right params:

[EMAIL PROTECTED] /mnt]# mount -t msdosfs -v -o '-m 666 -M 777' /dev/ad3s1 /mnt/drive
mount_msdosfs: invalid file mode:  666 -M 777

I've tried various combinations of quoting around the -m and -M params with no luck.

The end result is that I need to work out what to put in /etc/fstab to achieve those mount permissions for that drive (and I'm guessing that getting mount to pass the right params across is a start).

This is on FreeBSD 6.2-RELEASE. I'm a bit of a newbie - this is my first FreeBSD install :)

 - Ben

"Everybody generalizes from one example. At least, I do."
 - Steven Brust [dreamcafe.com]
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to