Computing.Net > Forums > Linux > Access vfat file Syatem from Linux

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

Reply to Message Icon

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



Sponsored Link
Ads by Google

Response Number 1
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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


can't install .tar.gz fil... linux and win problem



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Access vfat file Syatem from Linux

Accessing XP samba shares from Linux www.computing.net/answers/linux/accessing-xp-samba-shares-from-linux/7741.html

Access Win XP from Linux www.computing.net/answers/linux/access-win-xp-from-linux/16952.html

Cannot browse network from Linux www.computing.net/answers/linux/cannot-browse-network-from-linux/27530.html