This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes chcon instruction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "chcon instruction" Watch "chcon instruction" New topic
Author

chcon instruction

Gangireddy Danam
Ranch Hand

Joined: Aug 08, 2012
Posts: 32

chcon -t textrel_shlib_t /usr/jre1.7.0_10/lib/i386/client/libjvm.so
Please tell me what the above command functionality . why need to we use ?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 37926
    
  22
Please don’t add a new question to an old thread. Fortunately I can split your post off and create a new thread.
Try starting here.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15951
    
  19

The traditional file access control settings for Unix (and Linux) could be altered using the "chmod" command. When selinux was added for finer-grained access control, the "chcon" utility was part of the addition. It updates the selinux security properties for a file or directory.

For more information, run the "info chcon" command on your Linux machine. Selinux itself is a complex and confusing topic, so for that I can only recommend googling for some decent literature on the subject.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
 
subject: chcon instruction
 
Similar Threads
windows connecting to subversion server on linux
PATH and CLASSPATH settings in Linux
log4j setup on Tomcat - log file not created
Configuring Eclipse in Linux
read only directory