FAT 32 access permissions problem
Hello all,
I'm trying to sort out a FAT 32 partition on a dual boot running SuSE 10 and XP on separate discs. Having trouble though: in Suse i can only get write access if i logon as su. The entry in etc/fstab for this partition reads: /dev/hdb3 /data1 vfat rw,users,gid=100,umask=000,utf8=true 0 0 I've also gone into YasT > System > partitioner > edit > fstab options , which reads: users,gid=users,umask=000,utf8=true,0 0. rw isn't there, because after I've entered it YasT for some removes it. But I can add rw directly into etc/fstab , and i thought that umask=100 would give universal permissions anyway. Can anyone help please? Gilbertt |
This works for me:
Code:
#Windows Disc Check the permissions of /data1. It might be that only root has rw perms. On my system /mnt is restricted to root but the subdirs have rw perms to everyone. |
hi davcefai,
v grateful for your help on this. my data1 directory is indeed set up as root access only. i thought the etc/fstab entry would over-ride it but it clearly doesn't. I guess now i just su into a console and use either chown or chmod? the learning curve on linux can be pretty steep for a newbie sometimes, but thats good. thanks again, gilbertt |
This is how the Linux world works. Hope you enjoy living in it.
Quote:
Find the directory, right click, choose properties and change permissions there. This works under KDE but I believe that Gnome does the same things. |
i changed the etc/fstab entry to:
user,iocharset=iso8859-15,codepage=85000 but it took me an hour to realise that i had to reboot for it to work! :p Before then i tried changing the permissions by opening the filemanager as su and then right-clicking on the directory for properties and the permissions box. But any changes i made there were revoked straight away, even though I was in root! Then i went into a console as su and tried chown, chgrp and chmod, but all i got was the message 'Operation not permitted'. Anyway now I have write access to the fat32 directory :D , but i can't see any of the files that were there :confused: . Why is this? I kind of don't mind so far, because there's some learning going on, but i would like to play my mp3s! As always any help would be really appreciated. (BTW my usename is slightly different because somehow when i was logging onto this site i was getting someone elses profile -different registration date and email.???) gilbertt2 |
Try using the mount command to see whether the fat32 drive is mounted. What you are describing sounds like it's not.
A part of the mount output will look like: Quote:
mount -a Either it will mount or you'll get an error message telling you what went wrong. |
gilbertt@linux:~> mount
/dev/hdd6 on / type reiserfs (rw,acl,user_xattr) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) tmpfs on /dev/shm type tmpfs (rw) devpts on /dev/pts type devpts (rw,mode=0620,gid=5) /dev/hdb1 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8) usbfs on /proc/bus/usb type usbfs (rw) gilbertt@linux:~> su Password: linux:/home/gilbertt # mount -a mount: wrong fs type, bad option, bad superblock on /dev/hdb3, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so linux:/home/gilbertt # dmesg | tail atkbd.c: Unknown key released (translated set 2, code 0x81 on isa0060/serio0). atkbd.c: Use 'setkeycodes e001 <keycode>' to make it known. atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0). atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known. atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0). atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known. atkbd.c: Unknown key pressed (translated set 2, code 0xd9 on isa0060/serio0). atkbd.c: Use 'setkeycodes e059 <keycode>' to make it known. atkbd.c: Unknown key released (translated set 2, code 0x81 on isa0060/serio0). atkbd.c: Use 'setkeycodes e001 <keycode>' to make it known. :confused: |
Can you post /etc/fstab ?
From what I can see you are able to see the files on the Windows C drive - being NTFS you can't write to this partition. In Windows, can you check the properties of the hdb3 partition? Assuming that this is the one you are having problems with I have a suspicion that either: 1. It is not FAT32. 2. You created the partition with a non-MS prog such as Ranish. |
Hi,
A very belated reply-this thing called the rest of my life keeps getting in the way. Under Windows the partition is seen as FAT32, and to create the partition I used SuSE's YasT partition module. Maybe the YasT is misbehaving. I've finally settled for the quickest workaround. I copied the files that I can see with the codepage 85000 to /home. Then i changed the etc/fstab codepage to 850 0 0 and copied those files back. Still not entirely sure about why it happened, I will leave it to larger Linux minds, and settle back with my mp3's. Big thanks davcefai! |
All times are GMT -5. The time now is 12:13 PM. |