linux-kernel-module-cheat icon indicating copy to clipboard operation
linux-kernel-module-cheat copied to clipboard

add USER for docker

Open atharvanan1 opened this issue 2 years ago • 2 comments

I noticed that using docker to do first build, will result in cloning the submodules with root owner. Do we want to add USER setting in the Dockerfile to be able to clone those with USER owner? This proves editing the submodules a bit difficult. There are workarounds - chown -R USER:GROUP submodules and such.

Not a high priority.

atharvanan1 avatar Aug 08 '23 13:08 atharvanan1

Hi. Yes, I would like to do that, not only for submodules, but also for the entire out/ directory. This is mentioned at: https://cirosantilli.com/linux-kernel-module-cheat/docker "TODO make files created inside Docker be owned by the current user in host instead of root". If you find a way, do let me know.

cirosantilli avatar Aug 09 '23 06:08 cirosantilli

Hi! Thanks for your input. I just read this, I'll take a look.

atharvanan1 avatar Aug 22 '23 07:08 atharvanan1