-
Notifications
You must be signed in to change notification settings - Fork 4
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
remote: ssh: add support for shared = group
#15
Comments
shared = group
Just figured I'd point out if anyone runs into this that a current workaround is to use Linux ACL (where supported) to force folders in the remote cache to be created with group read/write permissions: setfacl -R -d -m g:groupname:rwX /path/to/remote/cache where |
@marius311 +1, this is exactly what my org ended up doing. I think you will also want to run |
Is there any possibility this could get looked at? Afaict (and please let me know if I'm missing something) this is still an issue that makes using SSH remotes prohibitive. Just to summarize the problem, consider two users who have access to a remote server that will be used as a DVC SSH remote. Both users have primary group Whether the remote folder has sticky bit |
Unfortunately, we don't have capacity to work on this yet 🙁 |
Our ssh remote is on a host where we do not have |
Hi everyone,
Which mask property would I need to set, precisely? |
Filesystem permissions can get messy when multiple users are accessing the same DVC remote over SSH and/or the local filesystem.
It could save some headache to be able to say
dvc remote add --shared group
, to obtain behavior analogous todvc config cache.shared group
. This would cause files in the remote to have the same444
permissions as always, but it would make sure that directories get775
instead of the default755
.As suggested on Discord, the resulting config file would look like this:
Discord context: https://discordapp.com/channels/485586884165107732/563406153334128681/712724033086685232
The text was updated successfully, but these errors were encountered: