#935 ostree-installer: Chown files to current user
Closed 6 years ago by lsedlar. Opened 6 years ago by lsedlar.
lsedlar/pungi chown-ostree-installer  into  master

No commits found

The files created in koji runroot will be owned by root. If the compose is done under different user, there will be a problem with copying the files preserving the owner.

Fixes: https://pagure.io/pungi/issue/932

rebased onto 20d159b

6 years ago

I personally seriously doubt this is going to work, since this would mean that the "apache" user tries to chown something that's currently owned by the "root" user.
I don't think Linux will be willing to accept this, unless I misunderstand where this is being called?

This would probably need to happen as part of the actual runroot, but that will most likely not actually have the uid of the user running the compose.

Good point. I tried it locally and it seemed to work, but trying again it does not. Not sure what I did wrong.

Pull-Request has been closed by lsedlar

6 years ago
Metadata