want read/write/execute permission!

Status
Not open for further replies.

naveenchandran

In the zone
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?
 

nixcraft

Journeyman
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

FooBar Guy
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
 
Status
Not open for further replies.
Top Bottom