-
Notifications
You must be signed in to change notification settings - Fork 305
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
Inability to pull from sysrepo to a user repo #1562
Comments
"in my home directory" implying as non-root? The only type that will work in theory in this case is The shadow files are really a super painful corner case - otherwise a lot of non-root stuff would Just Work. So hopefully we'll get around to doing them via tmpfiles or so. |
(The reason I haven't prioritized changing how |
yes, that's what he was doing
Is there an easy way to verify that is the issue he is hitting? |
This would have debugged trying to do a pull as non-root from a sysroot repository. See for example: ostreedev#1562
#1564 will make the error message a bit clearer. |
Also I was wrong, Another thing to keep in mind of course is that since |
I have tried about all bare repo types to pull from /sysroot/ostree/repo to a repo in my home directory, which is on local ext4.
With
bare
, I get:error: Importing 109f5eddff73e261a92d38a8a1fd7ec9d1f9c9f39dd7a3fe36e43c7aa10116c6.commit: fchown: Operation not permitted
(this one is expected, as that's what "user" is for).With
bare-user
, I get:error: openat: Permission denied
.With
bare-user-only
, I get:error: Writing content object: Content object 705f6478e11292040aa66c3df5f0c03d23af0c879ff0de34a3a806217d50654b: invalid mode 0104755 with bits 04000
.With
archive-z2
, I get:error: openat: Permission denied
.The commands I'm running:
The text was updated successfully, but these errors were encountered: