Satellite 6 upgrade fails with error 'Insecure world writable dir /root in PATH, mode 040777'

Solution Verified - Updated -

Issue

  • Running Satellite upgrade script fails with the following error.
[root@sat ~]# satellite-maintain upgrade check --target-version 6.10
/usr/share/gems/gems/foreman_maintain-0.8.31/lib/foreman_maintain/config.rb:24: warning: Insecure world writable dir /root in PATH, mode 040777
Checking for new version of satellite-maintain...
Nothing to update, can't find new version of satellite-maintain.
/usr/share/rubygems/rubygems/version.rb:191:in `initialize': Malformed version number string /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/util.rb:49: warning: Insecure world writable dir /root in PATH, mode 040777 (ArgumentError)
6.26.0

Environment

  • Red Hat Satellite 6

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