prepare: set execute permission for all.

2024-05-20_merge
tecnovert 5 years ago
parent a5de9dbee4
commit a1b3aa74a1
No known key found for this signature in database
GPG Key ID: 8ED6D8750C4E3F93
  1. 4
      Dockerfile
  2. 2
      bin/basicswap_prepare.py

@ -16,8 +16,8 @@ RUN wget -O bs.zip https://github.com/tecnovert/basicswap/archive/master.zip; \
# Download binaries, these will be part of the docker image
RUN basicswap-prepare -datadir=/opt -preparebinonly
RUN useradd -ms /bin/bash user; \
mkdir /coindata && chown user /coindata
RUN useradd -ms /bin/bash user && \
mkdir /coindata && chown user -R /coindata
USER user
WORKDIR /home/user

@ -174,7 +174,7 @@ def prepareCore(coin, version, settings, data_dir):
with open(out_path, 'wb') as fout:
fout.write(fi.read())
fi.close()
os.chmod(out_path, stat.S_IRWXU)
os.chmod(out_path, stat.S_IRWXU | stat.S_IXGRP | stat.S_IXOTH)
def prepareDataDir(coin, settings, data_dir, chain, particl_mnemonic):

Loading…
Cancel
Save