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.
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.
|
|
07-31-2003, 12:55 PM
|
#1
|
LQ Newbie
Registered: Jul 2003
Location: Hannover, Germany
Distribution: RedHat 9.A
Posts: 16
Rep:
|
Great ... where is my fstab
Well, I managed to solve one of my probs from my last thread. Which means I can now surf the web from my RedHat. But the other big question asked there still keeps puzzling me.
I had a nice fstab file prepared to mount my Win98 partitions to. It worked. Until I rebooted. Then I saw that RH rewrote that file and thus deleted my precious mounting info.
Does anybody have any idea why that's so and how to stop that? It's annoying!
|
|
|
07-31-2003, 12:57 PM
|
#2
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
hrmm, are you absolutely positive 100% sure you saved the file before exit? maybe you aren't properly using the text editor that you open the fstab file with.
|
|
|
07-31-2003, 01:06 PM
|
#3
|
LQ Newbie
Registered: Jul 2003
Location: Hannover, Germany
Distribution: RedHat 9.A
Posts: 16
Original Poster
Rep:
|
I used an Emacs within a console (no GUI). Yes the file was saved. There even was the backup file Emacs created for me. And I managed using that edited fstab right after fiddling with it. I.e. I could mount the newly entered partitions. But not only was the fstab changed back once I rebooted the machine, also the directories which I had created as mount points ("/c", "/d" and "/e") were gone.
|
|
|
07-31-2003, 01:09 PM
|
#4
|
Member
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987
Rep:
|
make sure u are root
type su, then gedit /etc/fstab
then u can save
|
|
|
07-31-2003, 01:13 PM
|
#5
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
well he would have to be root regardless cause if he was non-root, he would of gotten an error message of permission denied when trying to save the file and when trying to make a folder in /mnt..
the only thing i have seen referenced to this is by disabling kudzu otherwise i don't know.
Last edited by DrOzz; 07-31-2003 at 01:15 PM.
|
|
|
08-03-2003, 07:38 AM
|
#6
|
LQ Newbie
Registered: Jul 2003
Location: Hannover, Germany
Distribution: RedHat 9.A
Posts: 16
Original Poster
Rep:
|
Quote:
Originally posted by DrOzz
the only thing i have seen referenced to this is by disabling kudzu otherwise i don't know.
|
How do I do that?
|
|
|
08-04-2003, 03:39 PM
|
#7
|
LQ Newbie
Registered: Jul 2003
Location: Hannover, Germany
Distribution: RedHat 9.A
Posts: 16
Original Poster
Rep:
|
Oh, and another curious fact about those mounts: I create the directories which serve as mount points, then I mount the partitions. So far, so good, so tasty.
So why is it I cannot write to any of those mounted partitions unless I am root. Oh, I get it, the access rights to those directories are write-only for non-roots (or rather: non owners).
Well, hey, I am root, ain't I? So it should be a piece of pie changing those rights? Yeah, or so I thought. Redhat just laughs and tells me that I am not allowed to change the rights to write access? Then what am I root for?
So. What do I do now?
|
|
|
08-04-2003, 03:49 PM
|
#8
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
What are you mounting? Certain filesystems don't support permissions, so they're "stuck" on certain permissions. You specify permissions for these by putting "umask=<number>" in the options of fstab. Whatever permissions you specify here applies to everything in the filesystem.
|
|
|
08-04-2003, 04:01 PM
|
#9
|
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104
Rep:
|
Assuming you're talking about the Win98 before with a FAT32 filesystem? - as aaa mentioned you need a umask value in the relevant /etc/fstab line.
A umask value of 000 should be sufficient.
(just substitute in your Partition and Mount point in place of my example ones)
/dev/hda1 /mnt/windows vfat defaults,umask=000 0 0
Last edited by Skyline; 08-04-2003 at 04:07 PM.
|
|
|
All times are GMT -5. The time now is 05:30 AM.
|
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
|
|