LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-05-2010, 06:54 AM   #1
p.heidary
LQ Newbie
 
Registered: Mar 2010
Posts: 9

Rep: Reputation: 0
Question 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?
 
Old 03-05-2010, 06:56 AM   #2
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,674
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Type the following in a terminal
Code:
su
It will give you the root access, you need to enter the password after that,

man su

Last edited by TheIndependentAquarius; 03-05-2010 at 07:01 AM.
 
Old 03-05-2010, 07:01 AM   #3
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

Rep: Reputation: 64
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.....
 
Old 03-05-2010, 07:32 AM   #4
p.heidary
LQ Newbie
 
Registered: Mar 2010
Posts: 9

Original Poster
Rep: Reputation: 0
It doesn't works?

Quote:
Originally Posted by anishakaul View Post
Type the following in a terminal
Code:
su
It will give you the root access, you need to enter the password after that,

man su
I have typed the code but still can't create a folder in "/" and the same error "you are not the owner"!
 
Old 03-05-2010, 07:34 AM   #5
TheIndependentAquarius
Senior Member
 
Registered: Dec 2008
Posts: 4,674
Blog Entries: 29

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Post exactly what your terminal says i.e.

when you did su did it ask for password , if yes, then what happened ?
 
Old 03-05-2010, 07:36 AM   #6
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

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

Last edited by Sayan Acharjee; 03-05-2010 at 07:42 AM.
 
Old 03-05-2010, 08:36 AM   #7
mpier
Member
 
Registered: Jan 2008
Location: Poland
Distribution: Slackware, Arch
Posts: 38

Rep: Reputation: 17
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.
 
Old 03-05-2010, 08:44 AM   #8
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by p.heidary View Post
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Owner of a directory different than file owner problems Guardian-Mage Linux - Server 4 04-24-2009 11:26 AM
owner changes!!!! sachin0178 Linux - Newbie 4 01-28-2006 03:46 PM
proud owner! acidjuice Slackware 15 06-01-2005 10:53 AM
Owner KennieNL Linux - Newbie 2 07-16-2004 04:20 AM
Getting the owner name of a file in C akin81 Programming 5 04-02-2004 04:36 PM


All times are GMT -5. The time now is 01:37 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration