Research
.
Skip Search Box

SELinux Mailing List

Re: RHES4, Subversion, Apache and SElinux

From: Bernd Bartmann <bernd.bartmann_at_gmail.com>
Date: Fri, 16 Dec 2005 00:37:19 +0100


On 12/16/05, Daniel J Walsh <dwalsh@redhat.com> wrote:
> Bernd Bartmann wrote:
> > On 12/16/05, Daniel J Walsh <dwalsh@redhat.com> wrote:
> >
> >> file_t indicates that the file system was never labeled.
> >> try chcon -R -t httpd_sys_content_t /data
> >> to label the entire tree.
> >>
> >
> > This results in:
> > [root@picard ~]# chcon -R -t httpd_sys_content_t /data
> > chcon: can't apply partial context to unlabeled file /data
> >
> > I seem to be able to anything below /data but not /data itself.
> >
> chcon -R system_u:object_r:httpd_sys_content_t /data

Thanks. This works perfectly.

Best regards,
Bernd.

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Thu 15 Dec 2005 - 18:38:30 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service