-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
better message when trying to link from files that belong to another user #2992
Comments
@qiuwei that's sounds really bad, but it's not exactly clear what's happening here - could you please give us a little bit more details?
is it
where is your repository located? the same directory as data? |
Yes, it's /gendata. I could provide a minimal working exmaple to reproduce. step 1: create
step 3: create a file step 4: add
then you would be able to see the error mesage like:
|
Hi @qiuwei ! Could you please add |
@qiuwei Also, take a look at |
@chloe-wang , the file is still there at If the problem is that DVC is mysteriously disappearing files, we could wrap |
The problem is solved after |
Please provide information about your setup
DVC version(i.e.
dvc --version
), Platform and method of installation (pip, homebrew, pkg Mac, exe (Windows), DEB(Linux), RPM(Linux))DVC version: 0.77.3, Platform linux, method of installation: anaconda
Problem:
Our team has a shared data directory, all of the files and directories belong to the same group.
The members of the group have full read and write access.
I create dvc repository with
--no-scm
option successfully. However when I add any file whose owner is not the current user, dvc fails very badly.It panics with the following error,
However, the file which I was adding is removed from the directory.
Maybe at the moment dvc doesn't support shared repository?
However, I consider the error message is not clear enough, and it should never remove user's files when it fails.
The text was updated successfully, but these errors were encountered: