Requirements for running as non-root user on linux

Hi,

Our application runs on linux as non-root user and I constantly getting LA_E_PERMISSION error when using licensing features. The same application runs fine as root. I read about LA_USER or LA_SYSTEM flags during initialization and double checked our app. It properly sets LA_USER as required by the spec.

My suspicion is that the library may need to write something to some obscure places that the user has no permissions to access but I have no clue where to look.

Any suggestions?

Regards,
-Dmitri

Hi,

If the library is returning LA_E_PERMISSION for LA_USER flag, it can be due to:

  • current user not having write access in the user home directory
  • your app runs as a different user other than the current user

Thanks. That was exactly it. I mounted a volume that was masking users home directory.