Registration to Red Hat Satellite 6 server with "os.chmod(path, 0600)" error.

Solution Verified - Updated -


  • While registering Red Hat Enterprise Linux 8 system to Red Hat Satellite 6, subscription-manager command is failing with below error:

      File "/usr/lib64/python3.6/site-packages/rhsmlib/facts/", line 50, in is_registered_with_classic
        from up2date_client import up2dateAuth
      File "/usr/share/rhn/up2date_client/", line 74
        os.chmod(path, 0600)
    SyntaxError: invalid token


  • Red Hat Enterprise Linux 8
  • System upgrade from Red Hat Enterprise Linux 7 to Red Hat Enterprise Linux 8

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