Make sure user owns Downloads dir
This commit is contained in:
parent
43058c89d0
commit
7747b85ca7
@ -37,7 +37,9 @@ RUN curl --fail -O -sSL ${RELEASE_URL} && \
|
|||||||
gpg --verify ${RELEASE_FILE}.asc && \
|
gpg --verify ${RELEASE_FILE}.asc && \
|
||||||
sha256sum -c sha256sums-unsigned-build.txt && \
|
sha256sum -c sha256sums-unsigned-build.txt && \
|
||||||
tar --strip-components=1 -vxJf ${RELEASE_FILE} && \
|
tar --strip-components=1 -vxJf ${RELEASE_FILE} && \
|
||||||
rm -v ${RELEASE_FILE}*
|
rm -v ${RELEASE_FILE}* && \
|
||||||
|
mkdir /usr/local/bin/Browser/Downloads && \
|
||||||
|
chown -R user:user /usr/local/bin/Browser/Downloads
|
||||||
|
|
||||||
WORKDIR /usr/local/bin/Browser/Downloads
|
WORKDIR /usr/local/bin/Browser/Downloads
|
||||||
USER user
|
USER user
|
||||||
|
Loading…
Reference in New Issue
Block a user