From: justinmattock@gmail.com (Justin P. mattock) Date: Thu, 25 Feb 2010 10:17:54 -0800 Subject: [refpolicy] home directory user context question In-Reply-To: <1267121437.4999.3.camel@gorn.columbia.tresys.com> References: <5A5E55DF96F73844AF7DFB0F48721F0F52E446D3E8@EUSAACMS0703.eamcs.ericsson.se> <4B86BA9D.80404@gmail.com> <1267121437.4999.3.camel@gorn.columbia.tresys.com> Message-ID: <4B86BED2.9070006@gmail.com> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com On 02/25/2010 10:10 AM, Christopher J. PeBenito wrote: > On Thu, 2010-02-25 at 09:59 -0800, Justin P. mattock wrote: >> On 02/25/2010 08:14 AM, Alan Rouse wrote: >>> Your home directory is labeled "user:" or "user_u" ? >>> >>> Mine is labeled "user_u:" >> >> yeah my mistake it's user_u >> (user_u:object_r:user_home_dir_t) >> dos this look correct? >> >> or should it be: >> name:object_r:user_home_dir_t > > If you have UBAC enabled, then the seuser of the processes needs to > match the seuser on the contents of your home directory. So your home > dir should be name:object_r:user_home_dir_t. > yeah that's what I figured.. I'm just hitting some odd quirk or something to where user_u just stays there, and "name" doesn't appear until I delete a file in my home directory i.g. mozilla(for example) after deleting and restarting things go to "name" Justin P. Mattock