In a shared cache directory set up, dvc fails to set the correct permissions for the folders in the cache directory. For instance, a user X executes a dvc command - e.g dvc pull which sets the permission of a directory to rwxr-xr-x. A different user Y who is in the same group and is working with the same cache directory, is not able to delete files in this specific directory as the permission forbids it. Therefore, the user Y gets a Operation is not permitted error.
With this context, a additional parameter in the the cache config like git config core.sharedRepository group (https://git-scm.com/docs/git-config) which addresses this problem, may a suitable solution for a working shared cache directory set up.
For a more detailed overview see the conversation in the discord channel: https://discordapp.com/channels/485586884165107732/485596304961962003
In a shared cache directory set up, dvc fails to set the correct permissions for the folders in the cache directory. For instance, a user X executes a dvc command - e.g
dvc pullwhich sets the permission of a directory torwxr-xr-x. A different user Y who is in the same group and is working with the same cache directory, is not able to delete files in this specific directory as the permission forbids it. Therefore, the user Y gets aOperation is not permittederror.With this context, a additional parameter in the the cache config like
git config core.sharedRepository group(https://git-scm.com/docs/git-config) which addresses this problem, may a suitable solution for a working shared cache directory set up.For a more detailed overview see the conversation in the discord channel: https://discordapp.com/channels/485586884165107732/485596304961962003