/proc/sys/fs/ permissions #878
-
hey there, I'm trying to disable the Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @jonathanbeber, thanks for reporting the issue.
Yes, that particular sysctl (
That is strange; Sysbox does not touch (set or clear) that sysctl, so not sure why it's different in the container compared to the host. I was not able to reproduce either. In my Ubuntu Jammy host:
From within a Sysbox container:
If I change it to |
Beta Was this translation helpful? Give feedback.
Hi @jonathanbeber, thanks for reporting the issue.
Yes, that particular sysctl (
/proc/sys/fs/protected_regular
) is not namespaced in the Linux kernel, so an unprivileged (aka rootless) container such as those created by Sysbox won't have permission to write to the sysctl, unless Sysbox can virtualize it which it currently does not.That is strange; Sysbox does not touch (set or clear) that sysctl, so not sure why it's differe…