Re: Relabeling nfs_t files

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

 



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?

Thanks!

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list


--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux