Moving /var/www with SELinux enforcing

Mike Cloaked mike.cloaked at gmail.com
Mon Dec 15 20:16:52 UTC 2008




Mike Cloaked wrote:
> 
> 
> 
> tim.largy wrote:
>> 
>> Because I have limited space in /var and a program that wants to put
>> gigabytes of data in /var/www, I want to move that directory
>> (/var/www) elsewhere and simlink to it. What's the proper way to do
>> this with SELinux enforcing?
>> 
>> 
> 
> I have a similar need when I move /var/spool/mail to another partition,
> and the way I do it that leads to success is as follows (translating to
> your case) all as root:
> 
> ...lines deleted...
> 
> 

By the way I found that in circumstances like this using a symlink will
cause big problems when SElinux is enabled and enforcing. The bind mount
method seems stable and works well.
-- 
View this message in context: http://www.nabble.com/Moving--var-www-with-SELinux-enforcing-tp21019357p21021144.html
Sent from the Fedora List mailing list archive at Nabble.com.




More information about the fedora-list mailing list