mirror of
https://github.com/stucki/docker-lineageos
synced 2025-01-09 17:39:47 -05:00
Remove permission fix (no longer needed)
This commit is contained in:
parent
572ba865e2
commit
831eb4f7c6
10
startup.sh
10
startup.sh
@ -6,15 +6,5 @@ if [ ! -f /srv/ccache/CACHEDIR.TAG ]; then
|
|||||||
CCACHE_DIR=/srv/ccache ccache -M 50G
|
CCACHE_DIR=/srv/ccache ccache -M 50G
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Fix permissions. This is needed temporarily to migrate old projects which were still checked out as root.
|
|
||||||
# It can be removed at some point in the future.
|
|
||||||
# For performance reasons, only search on the first level.
|
|
||||||
for i in "/home/cmbuild/android" "/srv/ccache"; do
|
|
||||||
if [ $(find $i -maxdepth 1 -user root | wc -l) -gt 0 ]; then
|
|
||||||
echo "Fixing permissions on $i..."
|
|
||||||
chown -R cmbuild:cmbuild $i
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
# Launch screen session
|
# Launch screen session
|
||||||
screen -s /bin/bash
|
screen -s /bin/bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user