mount permission problems
I've been struggling for the last few days trying to get my wife's
Win95 laptop to access her Quicken files that I have on a fat16
partition on my linux machine. There is something about 'mount' that
is eluding me.
This was working fine in RH for years. When I changed to Debian last
week, it stopped working.
Samba seems to work fine. I can access files in users home directories
from the windows machine. It's the vfat mounted partition that's
giving me access fits.
The mount point for the fat16 partition is /mnt/dosE, and its
permissions are:
rskoss@bear:~$ ls -al /mnt
total 19
drwxrwxrwx 4 root root 1024 Aug 8 10:52 .
drwxr-xr-x 21 root root 1024 Aug 8 01:18 ..
drwxrwxrwx 2 root root 1024 Aug 8 03:34 dosE
drwx------ 93 500 500 15360 Aug 10 07:06 thinkpad
rskoss@bear:~$
Mounting the fat16 partition changes the permissions:
bear:/home/rskoss# mount -t vfat /dev/hda6 /mnt/dosE
bear:/home/rskoss# ls -al /mnt
total 34
drwxrwxrwx 4 root root 1024 Aug 8 10:52 .
drwxr-xr-x 21 root root 1024 Aug 8 01:18 ..
drwxr-xr-x 8 root root 16384 Dec 31 1969 dosE
drwx------ 93 500 500 15360 Aug 10 07:06 thinkpad
bear:/home/rskoss#
The man page for mount says that rw permission is the default. I've
tried combinations of -o rw, -w, and nothing seems to work.
Is there a bug or am I not understanding something about mount?
--
Robert Koss, Ph.D. | Training, Mentoring, Contract Development
Senior Consultant | Object Oriented Design, C++, Java
www.objectmentor.com | Extreme Programming
Reply to: