Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
01-02-2004, 08:50 PM
|
#1
|
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: SuSE 10
Posts: 915
Rep:
|
Filesystem should be Writeable! Why isn't it?
I'm trying to get my FAT32 partitions writeable under Linux. I've been in my fstab several times in the past but never had this problem. However, even as root, when I change the permissions of the filesystem, something in Linux immediately changes it back (and a change note is immediately reflected). I have been playing in my fstab trying to fix this, and have come across several wierd behaviors, including my access point (/mnt/data to be specific) completely vanishing. What is doing this? Right now, I can read the filesystem on /mnt/data, but I cannot write to it. I'll post my /etc/fstab later if you guys want it.
|
|
|
|
01-02-2004, 09:04 PM
|
#2
|
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
/etc/fstab should be something like
/dev/hd? /mnt/data vfat auto,owner,rw 1 2
make sure there is a rw and not only r in the current fstab
After you edit the file do
mount -a
Last edited by darthtux; 01-02-2004 at 09:05 PM.
|
|
|
|
01-02-2004, 09:24 PM
|
#3
|
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: SuSE 10
Posts: 915
Original Poster
Rep:
|
Here's my current fstab (with a few comments)
LABEL=/1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext2 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda5 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda1 /mnt/win98 vfat
*Windows 98 home disk*
/dev/hda6 /mnt/winswap vfat
*Windows swap disk*
/dev/hda8 /mnt/oldlin ext2
*an old Linux partition*
/dev/hda7 /mnt/data vfat users 0 0
*my data partition, why not writeable?*
Adding an rw by where I have users causes my access point to vanish. That's what is actually driving me nutzo.
Last edited by lectraplayer; 01-02-2004 at 09:26 PM.
|
|
|
|
01-02-2004, 09:27 PM
|
#4
|
|
Member
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 746
Rep:
|
Yeah, the main idea is that fat32 retains whatever permissions it's mounted with. If you mount it with read only permission, then try to chmod a file, you'll get nowhere, even as root. If you mount it read-write, it's dangerous, but it'll work.
If you use your fat32 partitions a lot, you might want to create a user with rw permissions to that mount point, then add that user to whoever needs access. Another user can be set up with just read only permissions, but this is done from the linux side, not the mount/windows side, and can be a real pain to set up correctly.
|
|
|
|
01-02-2004, 09:30 PM
|
#5
|
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
Try
/dev/hda1 /mnt/win98 vfat auto,owner,kudzu,rw 1 2
|
|
|
|
01-03-2004, 07:48 PM
|
#6
|
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: SuSE 10
Posts: 915
Original Poster
Rep:
|
I'll try that and see what happens.
Also, if I remember correctly now, I think Kudzu was the killer last time (causing me to lose the /mnt/data access point).
Tried it: /dev/hda7 does not mount in this case. When I mount it by hand, I, again, cannot write to it. The same thing happens all over.
If there was any doubt, I'm trying to make my data partition writeable. /dev/hda7. I have no reason to make /mnt/win98 writeable, as a matter of fact, I would rather that one be read only for now.
Last edited by lectraplayer; 01-03-2004 at 09:03 PM.
|
|
|
|
01-27-2004, 07:32 PM
|
#7
|
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: SuSE 10
Posts: 915
Original Poster
Rep:
|
Something I've noticed: Lately, RedHat 9 has started saying that FAT32 support is still in ALPHA, though I have never seen that until here lately. Could that have something to do with it? If so, where can I get updates for my FAT32 "engine"?
|
|
|
|
02-03-2004, 08:15 PM
|
#8
|
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: SuSE 10
Posts: 915
Original Poster
Rep:
|
nudge
|
|
|
|
02-03-2004, 10:07 PM
|
#9
|
|
Senior Member
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054
Rep:
|
if i remember correctly, even if you set the rw flag in fstab, that still won't work. i didn't for me anyway. what will work is setting the umask option in fstab. if you don't care about who has write permissions to your fat32 partition you can just use:
umask=0000
that will set the permissions of that partition when mounted to 777.
|
|
|
|
02-04-2004, 02:11 PM
|
#10
|
|
Member
Registered: Mar 2003
Location: a little west of Birmingham, AL, USA.
Distribution: SuSE 10
Posts: 915
Original Poster
Rep:
|
Thanks! I'll try that. I am the only user here anyway. ...and I like your sig. I guess that explains why I don't get that many crapy ideas, I always fart. 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:28 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
|
|