[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: MySQL custom datadir location - other daemons too



Jan-Frode Myklebust wrote:

What about:
	LABEL=/db /db ext3 fcontext=system_u:object_r:mysql_db_t:s0 1 2
or
	LABEL=/db /db ext3 fcontext=system_u:object_r:mysql_db_t 1 2

    ?

You mean "fscontext"?

I can't test it now, as the system is busy swallowing a huge pile of logs, but I think fscontext changed the context of all files underneath the mount point. I don't want that, I just want to change the context at the top and leave the rest of the filesystem unchanged.

--
Florin Andrei

http://florin.myip.org/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]