Unable to change permissions of world writeable files under tmp on Red Hat Satellite 5.7

Solution Verified - Updated -

Issue

  • Security scan identified the following world writeable files.
# ls -la /tmp/.com_ibm_tools_attach/
total 8
drwxrwxrwt.  2 root   root   4096 Oct 31 19:48 .
drwxrwxrwt. 11 root   root   4096 Oct 31 19:48 ..
-rw-rw-rw-.  1 tomcat tomcat    0 Oct 31 19:48 _attachlock
-rw-rw-rw-.  1 tomcat tomcat    0 Oct 31 19:48 _master
-rw-rw-rw-.  1 tomcat tomcat    0 Oct 31 19:48 _notifier

Changing permissions and restarting rhn-satellite service reverts the permission to world writeable.
Is there a way to configure tomcat so that these files are created with permissions 660 or less?

Environment

  • Red Hat Satellite 5.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.