You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We create files in the image using standard os.Create and similar calls, resulting in the behaviour that new files created in an image layout directory are owned by the user running umoci with a mode determined by the umask that umoci happened to run with.
However, since umoci repack and umoci unpack almost always require sudo to operate, it seems that changing the ownership to match the ownership of something like index.json or the layout directory itself would make umoci a bit easier to use.
We create files in the image using standard
os.Create
and similar calls, resulting in the behaviour that new files created in an image layout directory are owned by the user runningumoci
with a mode determined by the umask thatumoci
happened to run with.However, since
umoci repack
andumoci unpack
almost always requiresudo
to operate, it seems that changing the ownership to match the ownership of something likeindex.json
or the layout directory itself would make umoci a bit easier to use.I noticed this when replying to #528.
The text was updated successfully, but these errors were encountered: