<#2097 [BUG] pyflyte: PermissionError: [Errno 13] ...
# flyte-github
a
#2097 [BUG] pyflyte: PermissionError: [Errno 13] Permission denied: '/tmp/flyte/20220124_215844' Issue created by anmyachev Describe the bug Failed command:
pyflyte --pkgs myapp.workflows package --image myapp:v1 -f
. The problem can be reproduced on a machine with multiple users. After the first user creates
tmp/flyte
folder, the second one will not be able to create anything in it (in case of different permissions). The problem part of the tmp path -
flyte/
. It seems to me that this line should be changed: https://github.com/flyteorg/flytekit/blob/05653c889a0f8f96a4f2424f8d475b9c95e36d74/flytekit/core/data_persistence.py#L428 Expected behavior Users on the same machine with different permissions should be able to work with
pyflyte
. Additional context to reproduce No response Screenshots No response Are you sure this issue hasn't been raised already? ☑︎ Yes Have you read the Code of Conduct? ☑︎ Yes flyteorg/flyte