In rpm/containers-common.spec creating lib/containers/storage/overlay-images and lib/containers/storage/overlay-layers cause buildah to fail when run in container using non root user: containers/buildah#5332
|
install -dp %{buildroot}%{_prefix}/lib/containers/storage |
|
install -dp -m 700 %{buildroot}%{_prefix}/lib/containers/storage/overlay-images |
|
touch %{buildroot}%{_prefix}/lib/containers/storage/overlay-images/images.lock |
|
install -dp -m 700 %{buildroot}%{_prefix}/lib/containers/storage/overlay-layers |
|
touch %{buildroot}%{_prefix}/lib/containers/storage/overlay-layers/layers.lock |
Is there any reason to not create them with mode 755 ?
In
rpm/containers-common.speccreatinglib/containers/storage/overlay-imagesandlib/containers/storage/overlay-layerscause buildah to fail when run in container using non root user: containers/buildah#5332common/rpm/containers-common.spec
Lines 147 to 151 in a5ccdae
Is there any reason to not create them with mode 755 ?