Linux - NewbieThis 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.
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.
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!
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.
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.
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.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.