LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Writing to hdd's (https://www.linuxquestions.org/questions/linux-hardware-18/writing-to-hdds-78994/)

majeztik 08-04-2003 05:34 PM

Writing to hdd's
 
Hey Guys, i just recently unplugged myself from the microsoft matrix. I have mounted my FAT32 drives in my box, i can read to them as anyone, but i can only write to it as a root.

As far as permissions are concerned, i only know basic folder permissions.

Any help would be great.:)

neo77777 08-04-2003 05:46 PM

It has been discussed here very thorough before, the hint is you need to edit /etc/fstab file where there is (are) entry(ies) for windows partition(s) you need to add an option user
like the following
/dev/hda1 /mnt/cdrive vfat user,other options 0 0
This is assuming the windows partition resides on /dev/hda1 block device and the mount point /mnt/cdrive is where you mount it normally and it exists on the system.

darin3200 08-04-2003 05:49 PM

To give everyone read and write permissions get root permissions and type 'chmod 777 filename. Or if you are in a gui just right click on the file name select properties and there should be a tab for permissions and just give user write permissions.

Skyline 08-04-2003 05:51 PM

Hi majeztik

Its the

umask = 000

option you need in the relevant /etc/fstab line

(just substitute in your Partition and Mount point in place of my example ones)


/dev/hda1 /mnt/windows vfat defaults,umask=000 0 0

majeztik 08-04-2003 06:58 PM

thanks heaps for your help guys. :) :)


All times are GMT -5. The time now is 04:01 AM.