LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


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

Rep: Reputation: 30
Angry gaah!!! I have no permissions :(


ok, I went to cd /root, (fedora core 1) and it told me I had Permission Denied. I tried to access cd /root/c (windows ntfs partition) and I still don't have any permissions.

any help available?

Ben

and once again..please keep the terminology simple.
 
Old 04-22-2004, 09:34 AM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
you are not meant to have any access to that folder, thats roots home folder.
 
Old 04-22-2004, 09:39 AM   #3
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Original Poster
Rep: Reputation: 30
yeah...but I cannot get into my "C" (Windows ntfs) drive either becuase of permissions.
 
Old 04-22-2004, 09:51 AM   #4
Zilog
LQ Newbie
 
Registered: Apr 2004
Location: Brussels (Belgium)
Posts: 8

Rep: Reputation: 0
Hello !
I don't know Fedora, but isn't your Windows's C mounted under /mnt/ ?
On my Mandrake 9.2 My C is under mnt/windows/c

Hope this will help you...

Regards,

Michel
 
Old 04-22-2004, 10:09 AM   #5
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Zilog
Hello !
I don't know Fedora, but isn't your Windows's C mounted under /mnt/ ?
On my Mandrake 9.2 My C is under mnt/windows/c

Hope this will help you...

Regards,

Michel
all that is in /mnt is my cdrom drive.

progress. I go to the location where C is stored, and I right clicked on "C". Then I went to permissions and it said something like this: "You cannot change this because you are not the owner"

how do I make myself the owner?

Last edited by ben_build#2.1.0; 04-22-2004 at 10:16 AM.
 
Old 04-22-2004, 10:23 AM   #6
Zilog
LQ Newbie
 
Registered: Apr 2004
Location: Brussels (Belgium)
Posts: 8

Rep: Reputation: 0
...

Try as a root ...

type in
Quote:
su
System will ask you for your root password

BE CAREFUL : AT THAT TIME, YOU ARE ROOT, MEANING THAT YOU HAVE FULL RIGHTS ON YOUR SYSTEM, INCLUDED RIGHTS TO DELETE ALL ...
DO ONE MISTAKE AND YOU'LL PAY THE HIGHEST PRICE... ;-)

To leave this mode, type
Code:
exit

Good luck !
 
Old 04-22-2004, 10:55 AM   #7
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Original Poster
Rep: Reputation: 30
ok, going in under root did nothing.

Is there any way I can make myself the owner?
 
Old 04-23-2004, 08:16 AM   #8
Zilog
LQ Newbie
 
Registered: Apr 2004
Location: Brussels (Belgium)
Posts: 8

Rep: Reputation: 0
As far as I know, root is the owner of everything...
(Can anyone comfirm that ?)
 
Old 04-23-2004, 08:24 AM   #9
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Zilog
As far as I know, root is the owner of everything...
(Can anyone comfirm that ?)
yeah. root is the owner of everything...root can set privliedges to everyone.....

what I'm haveing problems with is the fact that somehow my "C" drive is viewed by linux as "read only" so I cannot change any of the permission properties on /C becuase of the fact that it is read only.

does anybody know anything on how to fix that?
 
Old 04-23-2004, 08:38 AM   #10
Zilog
LQ Newbie
 
Registered: Apr 2004
Location: Brussels (Belgium)
Posts: 8

Rep: Reputation: 0
Isn't it a driver problem ?
I think I've read somewhere that the NTFS support in Linux was read-only (Maybe is it an out-dated info...)

Otherwise, this go too far for my newbie knowledge...
Sorry to not be able to help you more...
 
Old 04-23-2004, 08:39 AM   #11
ViNsAniTy
LQ Newbie
 
Registered: Apr 2004
Location: Ontario, Canada
Distribution: Slackware 9.1
Posts: 28

Rep: Reputation: 15
Ideally any mounted Windows partitions are set to read only because a reliable method of writing to these partitions has not been developed....to my knowledge....

If you do in fact change the permissions to read-write....which you can by chmod I believe, then you run the risk of messing up your windows partition...
 
Old 04-23-2004, 08:41 AM   #12
FragInHell
Member
 
Registered: Sep 2003
Location: Sydney Australia
Distribution: Redhat, Centos, Solaris, Ubuntu, SUSE
Posts: 282

Rep: Reputation: 45
Ben,

Under FC1 you have to install the NTFS kernel module before you can read NTFS partitions (Windows), But then its still read only. The NTFS driver does not allow write.
Thinks to check is
Did you install the NTFS driver for your kernel ? (it will change when u upgrade the kernel and you'll have to re-install the module)
Have you mounted the NTFS partition?

As for Accessing /root its the root users home directory and is only accessable as the root user. You need to change to the root user, and the you'll have access to this directory. As said before be carefull here !.
 
Old 04-23-2004, 11:56 AM   #13
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by FragInHell
Ben,

Under FC1 you have to install the NTFS kernel module before you can read NTFS partitions (Windows), But then its still read only. The NTFS driver does not allow write.
Thinks to check is
Did you install the NTFS driver for your kernel ? (it will change when u upgrade the kernel and you'll have to re-install the module)
Have you mounted the NTFS partition?

As for Accessing /root its the root users home directory and is only accessable as the root user. You need to change to the root user, and the you'll have access to this directory. As said before be carefull here !.
maybe I don't have the NTFS driver. What are the proper steps in re-installing the module?

and I know I can only read NTFS partitions. The problem comes up when I try to change the permissions for my main logon superman. I get the error saying that the drive is read only, then it kicks me out. When I go "right click, properties, permissions on the "C" drive folder in root, and attempt to give superman the privledges of "read" to superman, Thats when the read-only error pops up.

EDIT

ok, I think I made some progress, but its not done yet. I did some reading on fstab and I noticed the /dev/hda2 was set to defaults, therefore not giving me any permission to mount the drive. So I changed that to ro,user and then proceeded to mount my "C" drive. So now on the username "root" has the "C" drive right where my CDROM drive is usually displayed on the desktop. so I think I might have mounted it successfully.

But In Superman, the drive does not show up as mounted. so I tried mount /dev/hda2 in superman, it brings up this message:

mount: /dev/hda2 already mounted on /C
mount: according to mtab /dev/hda2 is already mounted on C

I can access the "C" drive in root, so I don't think I have a driver problem.

does anybody know what could be wrong?

Last edited by ben_build#2.1.0; 04-23-2004 at 02:42 PM.
 
Old 04-23-2004, 04:24 PM   #14
Qucho
Member
 
Registered: Mar 2004
Location: Colorado, US
Distribution: Debian "Sarge"
Posts: 228

Rep: Reputation: 30
NO guys no no no.... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

HE is confusing the directory "/" with the directory "/root"

ALL you folders and stuff you are looking for are in "/" wich is the equivalent for "C:\" in MSDOS.

the directory '/root' is nothing but the equivalent of "/home/some_user_in_ur_system"

it just happens to a be a user called 'root' and '/root' is his HOME directory AS user for his personal files. Has nothign to do with the system.

ben_build#2.1.0

just type this:

cd /
dir

Last edited by Qucho; 04-23-2004 at 04:26 PM.
 
Old 04-23-2004, 06:46 PM   #15
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Qucho
NO guys no no no.... !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

HE is confusing the directory "/" with the directory "/root"

ALL you folders and stuff you are looking for are in "/" wich is the equivalent for "C:\" in MSDOS.

the directory '/root' is nothing but the equivalent of "/home/some_user_in_ur_system"

it just happens to a be a user called 'root' and '/root' is his HOME directory AS user for his personal files. Has nothign to do with the system.

ben_build#2.1.0

just type this:

cd /
dir
maybe I should've said "I can access 'c' when I'm logged on as root". sorry for the typo. I cannot access "C" when I'm logged on as superman".
 
  


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 - Newbie

All times are GMT -5. The time now is 06:17 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