On Thu, Feb 26, 2015 at 10:49 AM, Chuck Campbell <campbell at accelinc.com> wrote: > I have a centos 6.6 laptop which is having trouble (intermittent boot failures, > or more rightly so, multiple failures, intermittent booting). The laptop is > running selinux. > I pulled the second internal disk out to get my data off of it. I plugged it > into my centos 5.x machine and mounted it. I was able to do a dir listing, but > whrn I tried to cd into any of the directories, I get a bunch of AVC denials, > and I can't see any files. The contos 5.x machine is selinux enforcing, and so > is the centos 6.x box. The files are all owned by me, and have the same uid/gid > on both boxes. > > What is the right way to do this? Mount with a permissive context: mount -o context=unconfined_u:object_r:default_t If you mount without that, ls -Z will show you the labeling and you can probably figure out why you're getting the denials based on the AVC message. -- Chris Murphy