➜ atd git:(b4.232) ✗ git pull
remote: Counting objects: 78, done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 78 (delta 60), reused 0 (delta 0)
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed
Git error
insufficient permission for adding an object to repository database
Because the. Git directory of the project has the permission of root,
The solution is to switch to the root super administrator and modify the user of the file as the current computer user
chown -R xxxx: .git
Read More:
- Connect to the repository by using the database resource library!
- Encapsulation of adding, deleting and modifying database by JDBC
- Solve the problem of dynamically applying for permission, but still reporting an error of open failed: eacces (permission denied)
- Permission denied error: unable to index file .vs/Trip2015/v15/Server/sqlite3/db.lock fatal: adding
- Yum error: cannot retrieve repository metadata( repomd.xml )For repository solution
- Fedora 14 yum Error: Cannot retrieve repository metadata (repomd.xml) for repository
- An error is reported when kettle connects Oracle database and MySQL database
- Solution: how to set program permission as administrator permission in vs2019
- “An error occurred while adding a recovery system to the destination disk
- Beeline connection hive2 reports an error permission denied
- Error: Cannot retrieve repository metadata (repomd.xml) for repository: c6-media. Please verify…
- Git prompts another git process sees to be running in this repository, e.g. an editor opened by
- An error occurs when superstet connects to the Clickhouse database: error: could not load database driver: Clickhouse
- ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied
- MySQL master-slave replication. An error is reported when starting slave. Slave failed to initialize relay log info structure from the repository
- Android has applied for permission and still prompts open failed: eacces (permission denied)
- Pikachu vulnerability is installed in the shooting range, and an error is reported when connecting to the MySQL database
- An error is reported when the jeecg boot project connects to the MySQL database running on docker
- How to Use the object of ES6 to clear the object value
- Kylin running program reported an error: insufficient permission