Skip to content
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

fix(image): missing write access to modify jans-fido2.xml file #2843

Closed
iromli opened this issue Nov 2, 2022 · 0 comments · Fixed by #2846
Closed

fix(image): missing write access to modify jans-fido2.xml file #2843

iromli opened this issue Nov 2, 2022 · 0 comments · Fixed by #2846
Assignees
Labels
kind-bug Issue or PR is a bug in existing functionality

Comments

@iromli
Copy link
Contributor

iromli commented Nov 2, 2022

Describe the bug

The janssenproject/fido2 unable to modify jans-fido2.xml

To Reproduce
Steps to reproduce the behavior:

  1. Deploy janssenproject/fido2 pod on k8s with running user 1000

  2. See error below

    Traceback (most recent call last):
       File "/app/scripts/mod_context.py", line 113, in <module>
         modify_app_xml(args.app_name)
       File "/app/scripts/mod_context.py", line 104, in modify_app_xml
         with open(fn, "w") as f:
     PermissionError: [Errno 13] Permission denied: '/opt/jans/jetty/jans-fido2/webapps/jans-fido2.xml'"
    

Expected behavior

The file can be modified without errors.

@mo-auto mo-auto added the kind-bug Issue or PR is a bug in existing functionality label Nov 2, 2022
moabu pushed a commit that referenced this issue Nov 2, 2022
* fix(image): missing write access to modify jans-fido2.xml file

Ref: #2843

* fix(image): missing write access to create/modify templates for SCIM image

Ref: #2844
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind-bug Issue or PR is a bug in existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants