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

Re: Relabeling nfs_t files

Orion Poplawski wrote:
I have a problem where occasionally files end up with the nfs_t context on local filesystems, presumably due to folks moving them there off of nfs mounts. However, these files cannot be backed up by amanda. My thought was to run restorecon or fixfiles regularly on the directory tree to reset the context, but I get:

audit(1145565590.726:16283): avc: denied { getattr } for pid=22182 comm="restorecon" name="TT_v2.mat" dev=sda1 ino=204482 scontext=root:system_r:restorecon_t tcontext=system_u:object_r:nfs_t tclass=file

I will fix this in policy.
You should be able to execute

chcon -t DOMAIN FILE

So, what to do?


fedora-selinux-list mailing list
fedora-selinux-list redhat com

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