game-ci / game-ci/unity-orb

Avoid writing license file to root directory in Unity license script

Open
#91 0 comments 0 reactions 1 assignee Claimed by @GabLeRoux View on GitHub
Dominant language
Shell
Stars
11
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Writing the Unity license file to `/root/.local/share/unity3d/Unity/Unity_lic.ulf` assumes the script is running as root, which may not be the case. This can cause permission issues and reduce portability.

This issue was identified in [PR #83](https://github.com/game-ci/unity-orb/pull/83) in [this comment](https://github.com/game-ci/unity-orb/pull/83#discussion_r1853245374) by @GabLeRoux.

We should consider updating the script to store the license file in the current user's home directory instead.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.