Bug Report
On a Linux machine, in a folder foo/ shared by various users, but not owned by me, I did:
git init .
dvc init .
git add .dvc
git commit -m "first commit"
The folder already had a file bar.parquet sitting in it, not owned by me either.
I did:
And got the error
Adding...
ERROR: unexpected error - [Errno 1] Operation not permitted: '/baz/.dvc-cache/d0/3ea995971fc314c3087abbb3106e92.L6rCVNZWCFrzQRk53wdSCS'
Most importantly, the foo/bar.parquet file got deleted by the dvc add command above.
Note that I am using a shared dvc cache located at /baz/.dvc-cache/.
Please provide information about your setup
Output of dvc version:
Additional Information (if any):
I could not reproduce the bug. After recreating bar.parquet manually, with me being the owner, I could run dvc add bar.parquet successfully.
Bug Report
On a Linux machine, in a folder
foo/shared by various users, but not owned by me, I did:The folder already had a file
bar.parquetsitting in it, not owned by me either.I did:
And got the error
Most importantly, the
foo/bar.parquetfile got deleted by thedvc addcommand above.Note that I am using a shared
dvccache located at/baz/.dvc-cache/.Please provide information about your setup
Output of
dvc version:Additional Information (if any):
I could not reproduce the bug. After recreating
bar.parquetmanually, with me being the owner, I could rundvc add bar.parquetsuccessfully.