mounting vfat volumes with rw Privileges for a user

how I have it right now: I can only write to the vfat volumes when logged in as root. The user can read and execute files. I want to be able to do write files logged in as the user. ok, so here is my fstab file: LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 defaults 1 2 none /dev/pts devpts gid=5,mode=620 0 0 ...

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar07.webp

18 Posts
Location -
Joined 2004-07-18
how I have it right now: I can only write to the vfat volumes when logged in as root. The user can read and execute files. I want to be able to do write files logged in as the user.
 
ok, so here is my fstab file:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hdb5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/CDRW-DVDRW udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/Axolotl/ vfat defaults 0 0
/dev/hdb1 /mnt/Data/ vfat defaults 0 0

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar17.webp

3 Posts
Location -
Joined 2004-07-19
here's what mine looks like... you need a rw option, and take away the 'defaults' it doesn't work like that. use a umask option.
 
 
/dev/hda1 /mnt/windows ntfs ro,umask=0222 0 0
/dev/hdb1 /mnt/stuff vfat uid=500,gid=500,users,rw,umask=0000 0 0

data/avatar/default/avatar07.webp

18 Posts
Location -
Joined 2004-07-18
OP
thanks that worked