LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-25-2003, 03:41 PM   #1
techsarge
LQ Newbie
 
Registered: Feb 2003
Location: Lombard, Ill.
Distribution: Red Hat 9 and Libranet
Posts: 6

Rep: Reputation: 0
unable to write file to vfat partition from Linux


I'm using Red Hat 9 and Open Office Writer. I wrote a short text file with Writer and tried to write it to a vfat(Win98) partition on the same hard drive. I get the following error message:

Error saving document
Write error
File could not be written

I looked at the partition info in fstab and I have it setup for "default" which should be r & w. I'm new to linux and would sure appreciate a little advice.

Thanks...

Ed
 
Old 04-25-2003, 03:49 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
I assume you have the partition mounted at the time?

This may be a permissions problem. Make sure that the user you are logged in as has permissions to write to the vfat partition.

Just for fun, maybe post the line in question from your fstab...
 
Old 04-25-2003, 04:15 PM   #3
techsarge
LQ Newbie
 
Registered: Feb 2003
Location: Lombard, Ill.
Distribution: Red Hat 9 and Libranet
Posts: 6

Original Poster
Rep: Reputation: 0
Here is part of the output of mount.

/dev/hda1 on /mnt/hdc type vfat (rw)
/dev/hda5 on /mnt/hdd type vfat (rw)
/dev/hda6 on /mnt/hde type vfat (rw)

I'm a little confused about permissions. Can you quickly tell me how to check to see whether that's the problem?
 
Old 04-25-2003, 04:49 PM   #4
techsarge
LQ Newbie
 
Registered: Feb 2003
Location: Lombard, Ill.
Distribution: Red Hat 9 and Libranet
Posts: 6

Original Poster
Rep: Reputation: 0
Success!!

Bulliver...

Here's the new line in fstab:

/dev/hda5 /mnt/hdd vfat defaults,user,uid=500,gid=500 0 0




Thanks for the tip. I did a search in the forum and found what I needed. Did some reading and now I think I understand what the problem was. Thanks again and I guess I have alot to learn but the information is out there...

Ed

Last edited by techsarge; 04-25-2003 at 05:20 PM.
 
Old 04-25-2003, 04:51 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
thtat will of course mean that only user #500 can write to it now... you could set umask=000 instead to allow everyone to write to it.
 
Old 04-25-2003, 05:16 PM   #6
techsarge
LQ Newbie
 
Registered: Feb 2003
Location: Lombard, Ill.
Distribution: Red Hat 9 and Libranet
Posts: 6

Original Poster
Rep: Reputation: 0
Chris...

Thanks for your advice. I'll read up on permissions a bit more and appreciate the help.....

Ed
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
whick window software can read and write the file in linux partition ztdep Linux - Software 9 07-19-2005 11:27 PM
unable to write to vfat partition as non-root aducarrab Linux - Newbie 4 01-29-2005 08:08 PM
Can't write to vfat partition as user sigma957 Slackware 6 07-29-2004 09:58 AM
user can't read/write (vfat) partition MykilX Slackware 6 07-04-2003 06:32 PM
vfat partition - write permission for users group digitized_funk Linux - Newbie 8 03-19-2003 08:30 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration