proud-byte-81916
09/26/2023, 6:10 PMpants package
to build a AWS lambda, and I get the following error:
18:08:00.94 [INFO] Completed: Building 1 requirement for faas_repository.pex from the python_default.lock resolve: numpy~=1.25.0
18:08:04.00 [INFO] Completed: Build python_awslambda artifact for kittl/projects/minimal_lambda:lambda
18:08:04.21 [ERROR] 1 Exception encountered:
Engine traceback:
in `package` goal
IntrinsicError: Error setting permissions on /workspaces/kittl-python/.cache/immutable/files/b9/b9b93ca2e34791d3ffdac6df6fe4f5086588bf75aa3295db8d3e1ae20a933d54: Permission denied (os error 13)
If i then manually set the +w permission to the file b9b93ca2e34791d3ffdac6df6fe4f5086588bf75aa3295db8d3e1ae20a933d54
and re-run pants package
it works - as anybody experienced this? is there an easy way to solve this without having to change permissions? especially for CI! I am in ubuntu linux
Thanks so much! 🙂fresh-cat-90827
09/26/2023, 7:10 PMpants --print-stacktrace -ldebug package
to see where the error message is thrown in the code?fresh-cat-90827
09/26/2023, 7:10 PMpants --print-stacktrace package
first without getting too many debug messages 🙂enough-analyst-54434
09/26/2023, 7:44 PMenough-analyst-54434
09/26/2023, 7:44 PMproud-byte-81916
09/27/2023, 9:25 AM