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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-25-2003, 02:41 PM
|
#1
|
LQ Newbie
Registered: Feb 2003
Location: Lombard, Ill.
Distribution: Red Hat 9 and Libranet
Posts: 6
Rep:
|
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
|
|
|
04-25-2003, 02:49 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
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...
|
|
|
04-25-2003, 03:15 PM
|
#3
|
LQ Newbie
Registered: Feb 2003
Location: Lombard, Ill.
Distribution: Red Hat 9 and Libranet
Posts: 6
Original Poster
Rep:
|
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?
|
|
|
04-25-2003, 03:49 PM
|
#4
|
LQ Newbie
Registered: Feb 2003
Location: Lombard, Ill.
Distribution: Red Hat 9 and Libranet
Posts: 6
Original Poster
Rep:
|
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 04:20 PM.
|
|
|
04-25-2003, 03:51 PM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
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.
|
|
|
04-25-2003, 04:16 PM
|
#6
|
LQ Newbie
Registered: Feb 2003
Location: Lombard, Ill.
Distribution: Red Hat 9 and Libranet
Posts: 6
Original Poster
Rep:
|
Chris...
Thanks for your advice. I'll read up on permissions a bit more and appreciate the help.....
Ed
|
|
|
All times are GMT -5. The time now is 07:12 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|