Horje
insufficient permission for adding an object to repository database .git/objects Code Example
error: insufficient permission for adding an object to repository database .git/objects
find .git/ -exec stat --format="%G %n" {} + |grep root

chown -R $(id -un):$(id -gn) .git/objects/

git commit -a -m "fixed git objects ownership"
Got an error creating the test database: permission denied to create database
=> ALTER USER django CREATEDB;
error: insufficient permission for adding an object to repository database .git/objects
sudo chown -R www-data .
insufficient permission for adding an object to repository database .git/objects
cd into .git/objects

run sudo chown -R "${USER:-$(id -un)}" .
error: insufficient permission for adding an object to repository database
cd .git/objects
ls -al
sudo chown -R yourname:yourgroup *




Shell

Related
connecting to timescaledb from terminal Code Example connecting to timescaledb from terminal Code Example
git pull branch you are not on Code Example git pull branch you are not on Code Example
ssh to lightsail Code Example ssh to lightsail Code Example
kubectl get pods wide Code Example kubectl get pods wide Code Example
ffmpeg scale but keep aspect ratio Code Example ffmpeg scale but keep aspect ratio Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12