-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jib jvm build permissions issues #23665
Labels
Milestone
Comments
/cc @geoand |
Thanks for reporting! How can reproduce this issue? |
#23670 takes care of the issue |
geoand
added a commit
that referenced
this issue
Feb 14, 2022
Update working directory for Jib created images
Thank you very much for the (ultra) quick fix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
While creating a container image using jib (fast-jar) the whole /work folder (content included) is created with 755 and root as owner even when the username is specified or the image run as another user.
which in my case lead to this issue
Caused by: com.arjuna.ats.arjuna.exceptions.ObjectStoreException: ARJUNA012225: FileSystemStore::setupStore - cannot access root of object store: ObjectStore/ShadowNoFileLockStore/defaultStore/
Expected behavior
the /work folder and sub directories to be created with the specified (or image default) user as owner
Actual behavior
the /work folder is created with root as owner
How to Reproduce?
use jib to build the container image as fast-jar
Output of
uname -a
orver
No response
Output of
java -version
11
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.7.1
Build tool (ie. output of
mvnw --version
orgradlew --version
)3.8
Additional information
No response
The text was updated successfully, but these errors were encountered: