DIGIT-ARC read-only archive · snapshot: July 23, 2026

want read/write/execute permission!

3 posts · originally from https://geek.digit.in/community/threads/want-read-write-execute-permission.4636/

N
naveenchandran Original post #1
Jan 13, 2005 at 7:28 AM
I am currently using Fedora core 3

I have windows partitions c: and d:

currently I have my /etc/fstab as

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1 / ext3 defaults 1 1
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
LABEL=SWAP-hdc7 swap swap defaults 0 0

/dev/hdc1 /mnt/c vfat defaults 0 0
/dev/hdc5 /mnt/d vfat defaults 0 0

/dev/hdb /media/cdrom auto pamconsole,fscontext=system_u:eek:bject_r:removable_t,ro,exec,noauto,managed 0 0
/dev/hda /media/cdrecorder auto pamconsole,fscontext=system_u:eek:bject_r:removable_t,ro,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u:eek:bject_r:removable_t,exec,noauto,managed 0 0


I get full access permission under root but I have only read permission as a user.
I need full permission as an user.
What should I do?
N
Jan 13, 2005 at 2:37 PM
Pass options in your fstab for vfat as follows
uid=X, gid=X, umask=xxxx, rw, users

They will help you also read man page of fstab and mount command
GNUrag
GNUrag #3
Jan 13, 2005 at 6:14 PM
passing umask=000 should fix your problems.... umask = 000 means you'll get exactly opposite permissions on mounted partition i.e. you'll have 777 permissions