Results 1 to 10 of 11
I've been using Ubuntu now for a few weeks and I decided I'd add my shared partition on my computer to it, which is a FAT32 (/dev/hda5). I can mount ...
- 10-14-2005 #1Just Joined!
- Join Date
- Aug 2005
- Location
- Australia
- Posts
- 39
Enabling user write access to Fat 32 partition
I've been using Ubuntu now for a few weeks and I decided I'd add my shared partition on my computer to it, which is a FAT32 (/dev/hda5). I can mount it fine to the media folder using the /etc/fstab entry:
/dev/hda5 /media/share vfat defaults 0 0
But I'm not sure what I need to change to enable a normal user account to write to the partition. At the moment the only permissions on the drive are 755.
I have tried chmod 777 -R /media/share both with the drive mounted and without it mounted. I've also tried to copy the entry on the /etc/fstab from my suse 10 fstab to ubuntu and I've noticed they are in no way compatible.
Any help would be GREATLY appreciated
- 10-15-2005 #2
I forget the exact syntax, but you need to add "rw" to the fstab to enable read/write access. Just a guess, but maybe it's as simple as adding it right after the word "defaults"??
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
- 10-15-2005 #3Just Joined!
- Join Date
- Aug 2005
- Location
- Australia
- Posts
- 39
tried that
Thanks but I've already tried that and it says when I try to mount it that there is an error in the fstab file.
- 10-15-2005 #4
try
Code:/dev/hda5 /media/share vfat auto,users,rw,exec 1 0
Brilliant Mediocrity - Making Failure Look Good
- 10-16-2005 #5Just Joined!
- Join Date
- Aug 2005
- Location
- Australia
- Posts
- 39
argh!!!
It still doesn't work. I can't even change the permissions of individual folders through the terminal logged in as root.
Can anyone think of anything else I might not have done? I've changed the fstab file to what was suggested and I have been able to use the same partition fine in SUSE 10 which is also on the same computer.
- 10-16-2005 #6Just Joined!
- Join Date
- Aug 2005
- Location
- Australia
- Posts
- 39
yay
All is good now, thanks. Basically I followed the advice on ubuntuguide.org but the biggest problem I had was that I needed to restart the computer so it would mount during boot.
Anyway, it works now. thanks!
- 10-16-2005 #7Just Joined!
- Join Date
- Aug 2005
- Posts
- 15
"sudo mount -a" would have solved that problem. I think the Ubuntu guide mentioned it somewhere.
- 10-16-2005 #8Just Joined!
- Join Date
- Jan 2005
- Location
- Linux Drive
- Posts
- 43
what exactly does exec do? Just curious
Originally Posted by Vergil83
- 10-17-2005 #9
It lets you execute binaries that are on that partition (which you aren't really supposed to do
)
Brilliant Mediocrity - Making Failure Look Good
- 10-17-2005 #10Just Joined!
- Join Date
- Jan 2005
- Location
- Linux Drive
- Posts
- 43
Doesn't chmod +x filename do that?
Originally Posted by Vergil83


Reply With Quote
