docker-lineageos icon indicating copy to clipboard operation
docker-lineageos copied to clipboard

error: could not lock config file /home/lineageos/.gitconfig: Permission denied

Open thejacer87 opened this issue 5 years ago • 0 comments

running:

docker run --rm --privileged \
  -v "$(pwd)/android":/home/lineageos \
  -e GIT_USER_NAME=thejacer87 \
  -e [email protected] \
  -e DEVICE_CODENAME=serrano3gxx \
  -ti jfloff/lineageos lineageos init build

get this error:

error: could not lock config file /home/lineageos/.gitconfig: Permission denied
error: could not lock config file /home/lineageos/.gitconfig: Permission denied
[INFO] Initializing repository.
fatal: cannot make .repo directory: Permission denied
[INFO] Sync repository
error: command 'sync' requires repo to be installed first.
         Use "repo init" to install it here.
[INFO] Downloading extra files
[INFO] Enable caching at '/home/lineageos/cache' with 50G
bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
[INFO] Setup 'build/envsetup.sh'
chmod: cannot access 'build/envsetup.sh': No such file or directory
bash: /home/lineageos/build/envsetup.sh: No such file or directory
bash: breakfast: command not found
[INFO] Export environment setup into '/home/lineageos/.lineageos_dev_init'.
bash: /home/lineageos/.lineageos_dev_init: Permission denied
[DONE] Init done.
[INFO] Building LineageOS ...
bash: /home/lineageos/build/envsetup.sh: No such file or directory
bash: prebuilts/misc/linux-x86/ccache/ccache: No such file or directory
bash: breakfast: command not found
bash: croot: command not found
bash: brunch: command not found

thejacer87 avatar Nov 05 '19 08:11 thejacer87