Hi again,
sorry for asking many questions. 

I mounted a remote server's nfs directory onto my local server directory 
/mnt/NFSshare, then to create softlink of /mnt/NFSshare on vhost directory, I 
followed the SELinux tutorial, but this time I got error:

[root@techtle ~]# chcon -t httpd_sys_content_t  /mnt/NFSshare

chcon: failed to change context of `/mnt/NFSshare' to 
`system_u:object_r:httpd_sys_content_t:s0': Operation not supported



Mike


________________________________
 From: Tam Nguyen <[email protected]>
To: Mike Chan <[email protected]> 
Cc: zxq9 <[email protected]>; "[email protected]" 
<[email protected]> 
Sent: Tuesday, April 3, 2012 2:29 PM
Subject: Re: soft link for web vhost
 

Hey Mike,
congrat!  zxq9's awesome rundown is a good start.  Once you get the hang of 
SELinux mode, your server would be secured at least couple of notches.  Just 
don't go crazy with "chconning", as zxq9 put it.  For practice- setup a test VM.

Happy SELinux!

-Tam

Reply via email to