snmp Permission denied on mounted filesystems

Daniel J Walsh dwalsh at redhat.com
Thu Apr 15 12:55:23 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/15/2010 12:49 AM, Paul Ward wrote:
> Hi all,
> 
> I am sure this comes up a lot but have spent hours trying to find th
> eanswers with no success apart from disabling selinux which I don't
> want to do.
> 
> Apr 15 16:48:26 sargas snmpd[23987]: /home/appl: Permission denied
> 
> The following filesystems are mounted with same issue.
> 
> /dev/sda7             3.9G  427M  3.3G  12% /home/appl
> /dev/sda6             4.0G  2.7G  1.2G  71% /home/users
> /dev/sda8             3.9G  2.5G  1.2G  68% /home/work
> 
> ls -ldZ /home/appl/
> drwxr-xr-x  root     root                                      /home/appl/
> 
> /usr/sbin/sestatus
> SELinux status:         enabled
> SELinuxfs mount:        /selinux
> Current mode:           enforcing
> 
> What do I need to do to fix this chcon? If so what is the full comman
> / context to enter?
> 
> Thanks
> --
> selinux mailing list
> selinux at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/selinux
> 
> 
Try running restorecon -R -v /home

ANd see if this fixes the labels.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkvHDLsACgkQrlYvE4MpobOKSgCdHH/Z/0RLVjXRi6W56i5Uw0iz
QZEAoN4r3hCGHwy1/BWBDcO4FT4+hlHe
=HGXN
-----END PGP SIGNATURE-----


More information about the selinux mailing list