Skip to content

/proc/sys/fs/ permissions #878

Closed Answered by ctalledo
jonathanbeber asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @jonathanbeber, thanks for reporting the issue.

I'm trying to disable the protected_regular setting in a sysbox container and I get an error (permission denied)

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.

This flag is not enabled in the host node but it's enabled in the containers, what I beleive is due to the nature of the /proc partial virtualization.

That is strange; Sysbox does not touch (set or clear) that sysctl, so not sure why it's differe…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@jonathanbeber
Comment options

@ctalledo
Comment options

@jonathanbeber
Comment options

@ctalledo
Comment options

Answer selected by jonathanbeber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants