Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

docker/build.sh fails if UID is not 1000 #61

Closed
whbruce opened this issue Feb 17, 2021 · 1 comment
Closed

docker/build.sh fails if UID is not 1000 #61

whbruce opened this issue Feb 17, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@whbruce
Copy link

whbruce commented Feb 17, 2021

On a system when UID is not 1000 (i.e. a second user was created and that account was used to run build), the build will fail.

Run docker/build.sh and you will get the following error

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/.local'
Check the permissions.

To workaround the problem, modify tools/model_downloader/model_downloader.sh so that user is root

$SOURCE_DIR/docker/run.sh --user root ...

@whbruce whbruce added the bug Something isn't working label Feb 17, 2021
@whbruce
Copy link
Author

whbruce commented Jul 30, 2021

Fixed in v0.6.0-beta

@whbruce whbruce closed this as completed Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant