summaryrefslogtreecommitdiff
path: root/doc/todo/utilising_the_mklink_command_on_windows_to_utilise_symlinks_and_therefore_indirect_mode_on_windows/comment_2_575d96ffa2a8f2cb1ba3d0e5c4ba4e6f._comment
blob: ad37ac8b050d642bac5129be7331ad82d8de8f25 (plain)
1
2
3
4
5
6
7
8
9
10
11
[[!comment format=mdwn
 username="jason.dixon.email@aa0e536a2ec2877d6f666108dbbc6e39bbe87ac0"
 nickname="jason.dixon.email"
 avatar="http://cdn.libravatar.org/avatar/fbe9050fc83bbd536d307d87ea14d4bc"
 subject="Does this not work counter to locking / unlocking files?"
 date="2017-03-03T13:40:06Z"
 content="""
Perhaps I understand this wrong. But if you're in a position to be viewing symlinks, then the file is in effect, locked right? So in the situation that a windows user is trying to edit a file that is currently symlinked, they shouldn't be allowed to save at all. They should have unlocked the file first, thus replacing the link with the actual file. A simple fix would be to have the symlink read-only just as the file tucked away in .git/annex/objects is.

As I said, I'm probably looking at this in entirely the wrong way.
"""]]