Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Access vfat file Syatem from Linux
Name: lakshmi_kalyani Date: August 18, 2003 at 15:26:53 Pacific OS: Linux CPU/Ram: pentium 6
Comment:
I have Linux and Windows XP operating systems on my hard disk. I am able to read from my C and D drives through Linux, but I am not able to create or modify files in these drives through linux unless I am logged in as the root user. what should I do to overcome this problem. My C and D Drives are shown as vfat File system. Thank u in advance
Name: zeroguy Date: August 18, 2003 at 21:17:40 Pacific
Reply:
I'm assuming that Linux is on a driver other than C: and D:, right? And it doesn't seem like much of a 'problem', why can't you just switch to root? (type 'su root' into a shell if you didn't know how to switch)
0
Response Number 2
Name: egkenny Date: August 19, 2003 at 00:22:43 Pacific
Reply:
I am using RedHat 8.0 and 9. I have found the following when working with the /etc/fstab file.
The following will give read/write access to root and read-only access to everyone else: /dev/hda1 /mnt/windows vfat defaults 0 0
The following will give read/write access to everyone: /dev/hda1 /mnt/windows vfat defaults,umask=0 0 0
0
Response Number 3
Name: 3Dave Date: August 19, 2003 at 08:44:28 Pacific
Reply:
< SNIP > ...why can't you just switch to root? < /SNIP >
Because that's bad practice...too many reasons why not to go into here! Besides, sudo would be a better alternative.
As egkenny said, adding umask=0 to the line in /etc/fstab is what you want to do. You can also pass it as a parameter if mounting by hand.
Summary: How do I access a shared folder from windows XP on a linux box. At the moment, even Win98 machines can't access the share without running the 'network setup' disk that XP creates when you set up home ...
Summary: I have been setting up a PC using Suse Linux 9.1 Professional, and have been trying to get it on my Windows Workgroup. I've finally managed to copy files from Windows to Linux while sitting at a Windo...