LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   cannot write on mounted partition (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-write-on-mounted-partition-592721/)

djre 10-18-2007 07:13 AM

cannot write on mounted partition
 
hi.
i have a vfat partition for files that is shared by a windows partition and fedora 7.
i already have edited fstab to somehow automount that partition. however, i still mount it every time. and after i mount it, i cannot write on the partition (copying files from my home directory).

here is cat output of fstab:

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/sda5 swap swap defaults 0 0

/dev/sda2 /media/sharedfat vfat default,users,rw 0 0


am i missing something?
i know defaults should be rw. but its no help. so i included rw in the options.
anyway, it still wont let me copy to it.

Dinithion 10-18-2007 07:23 AM

Try to replace "users,rw" with umask=000 to the vfat partition in fstab, or just try it out with mount -o umask=000 /dev/sda2 /media/sharedfat.

djre 10-20-2007 07:33 AM

thanks dude! it worked. haha.


All times are GMT -5. The time now is 09:37 AM.