The goal of this feature would be to preserve permission of files added to dvc. In our particular use-case it is useful to add a directory of scripts, binaries and config to dvc. When we pull those files or get them, they have lost original permissions requiring us to restore permission manually or with something like acl.
This feature would add a new attribute in the .dvc file.
eg: filemode
Or something more OS agnostic.
This feature would add a new --track-permissions flag:
dvc add <file/dir> --track-permissions
Later when a user pulls or gets files/dir with dvc the permissions are restored.
If track-permissions is not used, files are treated like they are now.
The goal of this feature would be to preserve permission of files added to dvc. In our particular use-case it is useful to add a directory of scripts, binaries and config to dvc. When we pull those files or get them, they have lost original permissions requiring us to restore permission manually or with something like acl.
This feature would add a new attribute in the .dvc file.
eg: filemode
Or something more OS agnostic.
This feature would add a new --track-permissions flag:
dvc add <file/dir> --track-permissions
Later when a user pulls or gets files/dir with dvc the permissions are restored.
If track-permissions is not used, files are treated like they are now.