mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-21 04:12:37 +09:00
Fix log dir ownership
When the packages are generated as root the appflow log directory gets ownership oneadmin:oneadmin
This commit is contained in:
1 parent
a06f36c6a0
commit
91a6dd4336
1 file changed
+5
-1
+5
-1
@@ -35,13 +35,17 @@ rm $NAME
|
||||
DIRS="apptools env flow market"
|
||||
export DESTDIR=$PWD/tmp
|
||||
|
||||
if [ "$(id -u)" = "0" ]; then
|
||||
OWNER_FLAGS='-u oneadmin -g oneadmin'
|
||||
fi
|
||||
|
||||
rm -rf $DESTDIR
|
||||
mkdir $DESTDIR
|
||||
|
||||
for TOOL in $DIRS; do
|
||||
(
|
||||
cd $TOOL
|
||||
./install.sh
|
||||
./install.sh $OWNER_FLAGS
|
||||
)
|
||||
done
|
||||
|
||||
|
||||
Reference in new issue
Block a user