Selinux is preventing ssh_t from reading a symlink with the context of nfs_t

Solution Verified - Updated -

Issue

  • Selinux is preventing ssh_t from reading a symlink with the context of nfs_t
  • Getting below AVC's in the audit logs:
type=AVC msg=audit(1401333718.896:8839): avc:  denied  { read } for  pid=2094 comm="ssh" name="testuser" dev=0:14 ino=101 scontext=staff_u:staff_r:ssh_t:s0-s0:c0.c1023 tcontext=system_u:object_r:nfs_t:s0 tclass=lnk_file

Environment

  • Red Hat Enterprise Linux 6
  • selinux-policy-3.7.19-231.el6_5.1.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content