You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting up/installing a phoenix application on a multi-user system, the path of the /tmp location for esbuild should not cause permission issues if the directory already exists from another user account. This could possibly be addressed by using a user specifc named directory or prefix inside /tmp for the phx-esbuild directory.
Actual behavior
Although this isn't a common scenario I'm guessing (shared computers or computer lab environments would be affected), when one user on a system is developing phoenix apps, esbuild package gets downloaded to /tmp/phx-esbuild and is set for that user's user/group ownership. If another user then logs into the same system and attempts to start or run a phoenix application, the application fails to start because that /tmp/phx-esbuild directory is owned by the other user:
[error] Task #PID<0.534.0> started from MyAppWeb.Endpoint terminating** (File.Error) could not remove files and directories recursively from "/tmp/phx-esbuild": permission denied
The text was updated successfully, but these errors were encountered:
Environment
Expected behavior
When setting up/installing a phoenix application on a multi-user system, the path of the /tmp location for esbuild should not cause permission issues if the directory already exists from another user account. This could possibly be addressed by using a user specifc named directory or prefix inside /tmp for the phx-esbuild directory.
Actual behavior
Although this isn't a common scenario I'm guessing (shared computers or computer lab environments would be affected), when one user on a system is developing phoenix apps, esbuild package gets downloaded to /tmp/phx-esbuild and is set for that user's user/group ownership. If another user then logs into the same system and attempts to start or run a phoenix application, the application fails to start because that /tmp/phx-esbuild directory is owned by the other user:
The text was updated successfully, but these errors were encountered: