btw, what is the output of (in terms of permissions):
ls -l /mnt/windows ls -ld /mnt/windows |
a bunch of dr-xr-xr-x for the first one, even when logged in as root
drwxrwxrwx 14 root users 16384 Dec 31 1969 /mnt/files for the second. |
Can you post your fstab line as it stands right now? and let me get this straight, everything mounts just dandy at boot time, only there is no write permissions? what do you do next? does chmod'ing it help?
On a side not, turn off the auto option and mount it manually with all the option you used in the fstab. any errors? |
umm....btw, did you make the group of /mnt/files 'users' yourself?
and lastly, do you use any gid/uid when mounting? |
/dev/hda6 /mnt/files vfat auto,users,rw,exec,suid,gid=100,umask=000 0 0
this is what it says right now, and yes I added gid=100 myself. chmod'ing helps, yes, if I am logged in as root. give me a minute and i'll turn off the auto and manually mount it ... |
OK, manually mounting it,
mount -t vfat -O rw /dev/hda6 /mnt/files had the same results: all files under the mount point were 0555. and if I chmod everything, it loses permissions when I unmount the filesystem. |
umount /dev/hda6 #if mounted
manually mount it again, using -O debug,users,rw,exec,suid,gid=100,umask=000 see if that helps to figure out the problem. I'm running out of ideas, and I don't have a fat partition to play with... the only thing I can right now think of is the debug option plus playing with your gid (how well does it work if you leave out the gid?) Maybe someone will come along, if this still doesn't help... |
when I mounted manually, I left out the gid, again no write perms.
what does debug do? and I tried this: cd /mnt/files chmod 0777 * and it gave me a bunch of errors and only made everything 0755: chmod: changing permissions of `dir_name' (requested: 0777, actual: 0755): Operation not permitted |
man mount:
Quote:
|
play around with what options are selected. From doing some searching, this _should_ work:
mount -t vfat -o users,rw,exec,umask=000 /dev/hda6 /mnt/files |
yes, works in root.
now i'm going to check to see if it will work in automount for users. |
perfect! thanks!
|
cool.
|
All times are GMT -5. The time now is 03:23 AM. |