CentOS build fix: home folder of app is readable by all
This commit is contained in:
parent
1e033b6051
commit
22fb175d62
|
@ -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
|
||||
;;
|
||||
|
||||
|
|
|
@ -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
|
||||
;;
|
||||
|
||||
|
|
|
@ -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
|
||||
;;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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…
Reference in New Issue