-
Notifications
You must be signed in to change notification settings - Fork 330
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
Container - config.inc.php.orig Permission Issues #1022
Comments
Thank you for the report, well' look at this for next release. |
davidcoutadeur
pushed a commit
that referenced
this issue
Jan 6, 2025
davidcoutadeur
pushed a commit
that referenced
this issue
Jan 6, 2025
Should be fixed with last pull request: #1029 @brooksvb could you try with the fix? Note that this permission fix is not sufficient if you want to use your container as an unprivileged user. You should also manage the apache default privileged port. For example, running with dedicated ports.conf and 000-default.conf files:
|
davidcoutadeur
pushed a commit
that referenced
this issue
Jan 6, 2025
davidcoutadeur
pushed a commit
that referenced
this issue
Jan 9, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to run SSP as a rootless podman container, and I'm running into permission issues in the
entrypoint.sh
script. It attempts to create a link from the user-provided configuration file to another location that is owned by root. If I useuserns=keepid
, which normally simplifies permission issues in the vast majority of containers, this causes an error because the link destination is owned by root:-rw-r--r-- 1 root root 18266 Oct 29 11:01 config.inc.php.orig
I was still having trouble when I started this ticket, but I eventually found a solution which is to use
userns=keep-id --user=0:0
. It's a pretty reasonable solution, but one that could be avoided by changing the practice used in the container. I decided to create the ticket anyways to help others who run into this issue.There may be a couple ways of simplifying this in the container:
ln
command entirely.config.inc.php.orig
file to allow non-root users to create the link.The text was updated successfully, but these errors were encountered: