Browse Source

CentOS build fix: home folder of app is readable by all

pull/1943/head
Greg Szabo 7 years ago
parent
commit
22fb175d62
8 changed files with 8 additions and 0 deletions
  1. +1
    -0
      build/basecoin/DEBIAN/preinst
  2. +1
    -0
      build/ethermint/DEBIAN/preinst
  3. +1
    -0
      build/gaia/DEBIAN/preinst
  4. +1
    -0
      build/spectemplates/basecoin.spec
  5. +1
    -0
      build/spectemplates/ethermint.spec
  6. +1
    -0
      build/spectemplates/gaia.spec
  7. +1
    -0
      build/spectemplates/trackomatron.spec
  8. +1
    -0
      build/trackomatron/DEBIAN/preinst

+ 1
- 0
build/basecoin/DEBIAN/preinst View File

@ -17,6 +17,7 @@ case "$1" in
install|upgrade)
if ! grep -q '^basecoin:' /etc/passwd ; then
useradd -k /dev/null -r -m -b /etc basecoin
chmod 755 /etc/basecoin
fi
;;


+ 1
- 0
build/ethermint/DEBIAN/preinst View File

@ -17,6 +17,7 @@ case "$1" in
install|upgrade)
if ! grep -q '^ethermint:' /etc/passwd ; then
useradd -k /dev/null -r -m -b /etc ethermint
chmod 755 /etc/ethermint
fi
;;


+ 1
- 0
build/gaia/DEBIAN/preinst View File

@ -17,6 +17,7 @@ case "$1" in
install|upgrade)
if ! grep -q '^gaia:' /etc/passwd ; then
useradd -k /dev/null -r -m -b /etc gaia
chmod 755 /etc/gaia
fi
;;


+ 1
- 0
build/spectemplates/basecoin.spec View File

@ -20,6 +20,7 @@ Basecoin is an ABCI application designed to be used with the Tendermint consensu
%pre
if ! %{__grep} -q '^%{name}:' /etc/passwd ; then
useradd -k /dev/null -r -m -b %{_sysconfdir} %{name}
chmod 755 %{_sysconfdir}/%{name}
fi
%prep


+ 1
- 0
build/spectemplates/ethermint.spec View File

@ -19,6 +19,7 @@ Ethermint enables ethereum to run as an ABCI application on tendermint and the C
%pre
if ! %{__grep} -q '^%{name}:' /etc/passwd ; then
useradd -k /dev/null -r -m -b %{_sysconfdir} %{name}
chmod 755 %{_sysconfdir}/%{name}
fi
%prep


+ 1
- 0
build/spectemplates/gaia.spec View File

@ -19,6 +19,7 @@ Gaia description comes later.
%pre
if ! %{__grep} -q '^%{name}:' /etc/passwd ; then
useradd -k /dev/null -r -m -b %{_sysconfdir} %{name}
chmod 755 %{_sysconfdir}/%{name}
fi
%prep


+ 1
- 0
build/spectemplates/trackomatron.spec View File

@ -19,6 +19,7 @@ This software is intended to create a space to easily send invoices between and
%pre
if ! %{__grep} -q '^%{name}:' /etc/passwd ; then
useradd -k /dev/null -r -m -b %{_sysconfdir} %{name}
chmod 755 %{_sysconfdir}/%{name}
fi
%prep


+ 1
- 0
build/trackomatron/DEBIAN/preinst View File

@ -17,6 +17,7 @@ case "$1" in
install|upgrade)
if ! grep -q '^trackomatron:' /etc/passwd ; then
useradd -k /dev/null -r -m -b /etc trackomatron
chmod 755 /etc/trackomatron
fi
;;


Loading…
Cancel
Save