LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-22-2004, 12:31 PM   #1
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Rep: Reputation: 30
permissions ?


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.

thanx

ben
 
Old 04-22-2004, 12:54 PM   #2
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
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.
 
Old 04-22-2004, 02:43 PM   #3
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Original Poster
Rep: Reputation: 30
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.
 
Old 04-23-2004, 10:42 AM   #4
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
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

Last edited by ac1980; 04-23-2004 at 10:43 AM.
 
Old 04-23-2004, 12:08 PM   #5
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Original Poster
Rep: Reputation: 30
thanks for that link....It might help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
file permissions OK, but command permissions? stabu Linux - General 2 10-05-2005 12:00 PM
permission ... permissions .... permissions alaios Linux - General 1 05-31-2005 04:16 AM
Permissions jymmi Linux - Newbie 3 04-14-2005 11:43 PM
Permissions help reddog64 Linux - Newbie 1 04-22-2004 05:23 PM
getting a directory's permissions and creating a new one with the same permissions newbie1000101 Programming 1 04-10-2004 12:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration