Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-30-2005, 06:29 PM   #1
LQ Newbie
Registered: Jul 2004
Posts: 5

Rep: Reputation: 0
what's this mean?

ok, so i found a solution to a problem i was having in fedora core 4, but i'm not sure what the fix did...can someone please explain what the following command does?

chcon -R system_ubject_r:lib_t ./


Old 07-30-2005, 07:22 PM   #2
Registered: Apr 2003
Location: Madrid
Distribution: RHEL, Kubuntu, Solaris, TRU64
Posts: 382

Rep: Reputation: 31
Maybe you mean
chown -R system_ubject_r:lib_t ./

ant not

chcon -R system_ubject_r:lib_t ./

That would change actual directory ( ./ ) owner from whatever to system_u and group to lib_t , but in 10 years of unix I've never seen such strange user/group names.
Better don't try it, I guess....
Old 07-31-2005, 09:58 AM   #3
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
No I think that is a command for SELinux...
Search for "SELinux" if you want to find out more.

btw, I am not using FC but isnt SELinux disabled by default now???
Old 07-31-2005, 10:03 AM   #4
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Look at the man page for chcon by typing "man chcon" in a terminal window. I don't know what it does myself, I've never heard of said command either.
Old 07-31-2005, 04:14 PM   #5
Registered: May 2005
Posts: 378

Rep: Reputation: 33
Change security context.


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

All times are GMT -5. The time now is 04:17 AM.

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