gsc icon indicating copy to clipboard operation
gsc copied to clipboard

Set correct permissions of `/tmp` dir during GSC build

Open dimakuv opened this issue 1 year ago • 0 comments

Description of the changes

The original app image may have changed the permissions of /tmp dir. At the same time, correct permissions are required for installation of packages during GSC build. This commit adds explicit chmod 1777 /tmp.

Fixes #193.

How to test this PR?

Looks like a reproducer would be like this:

FROM debian:12
RUN chmod 1777 /tmp
USER ${non_root_uid}:${non_root_gid}

But I haven't tested really.


This change is Reviewable

dimakuv avatar Apr 15 '24 07:04 dimakuv