LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   what is owner? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-owner-793371/)

p.heidary 03-05-2010 05:54 AM

what is owner?
 
I have installed fedora red hat linux myself .But Idont have permission to create folder in "/". And I am installing an application that need to create folder there .The error massage is " you are not the owner "
I want to know what is the owner & how can I find it?

Aquarius_Girl 03-05-2010 05:56 AM

Type the following in a terminal
Code:

su
It will give you the root access, you need to enter the password after that, :D

man su

Sayan Acharjee 03-05-2010 06:01 AM

Here the owner means the "root" who is the superuser, you can see the details with the following command:

Quote:

$ls -ld /
if you know your root account password then issue:

Quote:

su -
It will ask for root password, provide the same and you'll be logged in as root, now you can create the folder in that location.....

p.heidary 03-05-2010 06:32 AM

It doesn't works?
 
Quote:

Originally Posted by anishakaul (Post 3886781)
Type the following in a terminal
Code:

su
It will give you the root access, you need to enter the password after that, :D

man su

I have typed the code but still can't create a folder in "/" and the same error "you are not the owner"!

Aquarius_Girl 03-05-2010 06:34 AM

Post exactly what your terminal says i.e.

when you did su did it ask for password , if yes, then what happened ?

Sayan Acharjee 03-05-2010 06:36 AM

That means you are still not logged in as superuser.......try the command "su" once again.........

mpier 03-05-2010 07:36 AM

Hi,
if you "still can't create a folder in "/"", you really shouldn't do it, until you want install the system again. This is the base knowledge.

jstephens84 03-05-2010 07:44 AM

Quote:

Originally Posted by p.heidary (Post 3886778)
I have installed fedora red hat linux myself .But Idont have permission to create folder in "/". And I am installing an application that need to create folder there .The error massage is " you are not the owner "
I want to know what is the owner & how can I find it?

First to answer your question - owner is the person that either owns the directory or owns the file that you are trying to edit. With linux folders and files are actually the same.

As for the error you will need to do
Code:

su -
<enter password for root>

the dash after su is important. Without it you get his rights but not full rights so su - will give you full access.

Also what application are you trying to install? you may want to install it into another directory. Possible directories would be /opt, /usr or /usr/local.


All times are GMT -5. The time now is 05:00 AM.