-
Notifications
You must be signed in to change notification settings - Fork 54
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
policies: widen allowed filepaths #540
Conversation
edc5e7a
to
d2c6fd4
Compare
/home
, /srv
, and /opt
34417b5
to
b0e5534
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should apply this only to non-ostree artifacts for the starters. With ostree, it gets weird, because IIRC /var
is problematic in commits. Also, we should probably discuss this with the edge folks before committing to any changes there.
b0e5534
to
a5f64f1
Compare
Yeah let's split the file+dir policies like we do with the mountpoints. |
@ondrejbudai @achilleas-k do we want the ostree-specific allowed paths to be what we had or do we have a widened set for those as well? |
Let's keep the old ones for now and widen them in a separate PR |
45efa2e
to
8579b95
Compare
Should we allow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Splendid! ❤️
Merge conflicts :/ |
Allow writing everywhere aside from things that are probably the wrong places to write things as the distribution expects to manage those.
@achilleas-k Rebased. |
We want to be more strict for ostree so let's keep the old policies there.
Have we reverted #528 by this PR? |
Yeah: #587 |
Allow writing files into
/home
,/srv
,/opt
. Allow writing directories into/srv
and/opt
but not/home
.