Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
4.8.1
-
None
Description
Running installer using sudo creates the .qt-profile file in the root-user's home directory.
When running Qt Creator, the licensechecker is unable to locate the file and falls back to using namedlicense backend instead of using the licenseclient.
As using sudo clearly is a requirement to writing to /opt or equivalent directories, restricting installers to non-root users is not a solution.
As a quick and easy solution:
- Installer shall display a modal warning dialogue to the user when it detects that the user is running with elevated privileges.
However, as a speculative longer term solution evaluation - it's necessary to define how installations for multiple users would happen (or whether they would be allowed at all), this is out of scope of the initial solution (e.g profile file would be written to a more accessible location such as /usr/local/share, and check that location if the file is not available in the user's root directory.
Attachments
Issue Links
- mentioned in
-
Page Loading...