FedoraThis forum is for the discussion of the Fedora Project.
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.
I was wondering how I can gain priveledges (permission) back to my "C" drive (NTFS windows), with FC1.
It says I'm not the "owner" of the operating system, so therefore I cannot access it. I tried accessing "C" in /root, and either I typed something wrong or It didn't worked.
in /etc/fstab you should see all your local partitions/filesystems.
Add to the line of your C drive the umask=2 option. This means allow anybody to read and execute files on that fs, but not write, since (afaik) ntfs writing is still to be handled carefully.
For more info in filesystem options, type info mount in a terminal box.
another problem showed up I think. I attempted to change the changes you suggested, but the file is write protected, and I don't have the permission to change the file's write protection. I think I'll try it in /root
Is there anything else we can do?
Ben
Edit
I tried to access C logged in as root, and it worked pefectly. I was toying around with /etc/fstab and changed the second 0 to a 1. I logged back onto my main logon (superman) and tried to access C, and I got into the folder but there was nothing there.
Back in root, I tried to give superman permission to access the C drive, but it gave a message of "Couldn't change the permission of C because it is a read only disk" This message occured ever time I tried to change the permissions, so nothing really was gained from that.
Another question is, what are the numbers in /etc/fstab that are after /hda2, when I first entered they where 1 followed by a 0. When I changed them to 1 1 it gave me access to C in superman, but no files showed up. Now what numbers would be a solution to that?
Last edited by ben_build#2.1.0; 04-22-2004 at 03:31 PM.
for info on fstab see here: http://www.humbug.org.au/talks/fstab/fstab.html ... however that number has nothing to do with readability, you probably unmounted the fs somehow.
As for changing permissions, non-native fs don't have real file permissions, instead there is a filesystem-wide owner and permission mask. So you can't change it with chmod, you have to use (as root)mount -o remount,umask=2 /path/to/mountpoint. You can also permanently hcnage options in fstab
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.