Why does Microsoft SQL Server on RHEL require root privileges?

Solution Verified - Updated -

Issue

  • MSSQL on RHEL requires root privileges
  • Starting MSSQL in a container on RHEL fails with the following error

    /opt/mssql/bin/sqlservr: Error: Directory [/var/opt/system/] could not be created.  Errno [13]
    

Environment

  • Microsoft SQL Server
  • Red Hat Enterprise Linux 7

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