init: fails on 2nd run with NTFS on Linux (gitdb lib bug)
See original GitHub issueDVC Version: 0.35.7
lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 16.04.5 LTS Release: 16.04 Codename: xenial
Steps to reproduce:
git init
dvc init
rm -rf .dvc
dvc init
Adding '.dvc/state' to '.dvc/.gitignore'.
Adding '.dvc/lock' to '.dvc/.gitignore'.
Adding '.dvc/config.local' to '.dvc/.gitignore'.
Adding '.dvc/updater' to '.dvc/.gitignore'.
Adding '.dvc/updater.lock' to '.dvc/.gitignore'.
Adding '.dvc/state-journal' to '.dvc/.gitignore'.
Adding '.dvc/state-wal' to '.dvc/.gitignore'.
Adding '.dvc/cache' to '.dvc/.gitignore'.
ERROR: unexpected error - [Errno 13] Permission denied: '/mnt/c/Users/villasv/Projects/dvc-talk/.git/objects/obj80fx1hnj' -> '/mnt/c/Users/villasv/Projects/dvc-talk/.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391'
Having any troubles?. Hit us up at https://dvc.org/support, we are always happy to help!
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:18 (17 by maintainers)
Top Results From Across the Web
Gradle build fails while clean with project on for NTFS on ...
Trying to clean project in NTFS partition under Linux, but it failed even when instant run is switched off. Never had this bug...
Read more >guestfsd: error: /Windows/Drivers/VirtIO: Read-only file system
Description of problem: Windows guest using Fast Startup triggers a fallback path in ntfs-3g where the disk is mounted readonly (without actually failing) ......
Read more >github/git Checkout Returns 'error: invalid path' on Windows
I found that running git config core.protectNTFS false solved my issue, but only if I took some steps before and after running it....
Read more >fsck can't find fsck.ntfs - Ask Ubuntu
fsck apparently runs on boot. Therefore, it is a bug if it tries to check a filesystem that it can't handle. The partition...
Read more >Steam Proton not working on NTFS drive - Manjaro Linux Forum
I have an NTFS drive that I use for game libraries. I installed it on my linux boot drive to make sure it...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
For the record, gitpython-developers/gitdb#52 got merged, now waiting for the new gitdb release, so we could update our requirements.
It seems it works as expected! 🎉