summaryrefslogtreecommitdiff
path: root/doc/todo/windows_git-annex_service.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-06-16 19:12:01 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-06-16 19:12:01 -0400
commit3028ab0e2a55ec8422751e4e1ca4f715a0afb356 (patch)
tree15c56d6c85632d8ed2f925849e379ada89612106 /doc/todo/windows_git-annex_service.mdwn
parentc3259ea59d3dfc997a3aceb444f3a76fb8ce22fb (diff)
permissions ugh
Diffstat (limited to 'doc/todo/windows_git-annex_service.mdwn')
-rw-r--r--doc/todo/windows_git-annex_service.mdwn17
1 files changed, 6 insertions, 11 deletions
diff --git a/doc/todo/windows_git-annex_service.mdwn b/doc/todo/windows_git-annex_service.mdwn
index 5fad4841e..d4be0f379 100644
--- a/doc/todo/windows_git-annex_service.mdwn
+++ b/doc/todo/windows_git-annex_service.mdwn
@@ -13,18 +13,13 @@ Windows) that does:
1. git -c core.sharedRepository=true init $repo
2. cd $repo; git annex init
4. chmod 777 -R $repo
-5. Add $repo to C:\Documents and Settings\All Users\.config\git-annex\autostart
+5. Add $repo to C:\.config\git-annex\autostart
6. If git-annex service does not yet exist in nssm, set it up and start it.
-Note that the shared repository perms are not perfect, but this should
-allow any user to drop files into the annex, and whatever use the service
-runs as (probably LocalService) can write to the .git/ repository).
+**Problem**: With 2 users writing to one repository, files and subdirs
+will end up owned by git-annex or by the desktop user, and the other user
+won't be able to eg, edit a file or remove a file from a directory.
-Make git-annex read `C:\Documents and Settings\All Users\.config\git-annex\autostart`
-on Windows, rather than the one in $HOME. This way, `git annex assistant
+Make git-annex read `C:\.config\git-annex\autostart`
+on Windows, in addition to the one in $HOME. This way, `git annex assistant
--autostart` and `git annex webapp` will use it, no matter which user.
-
-This bypasses the normal webapp configuration of the repo, but an annex
-folder on the desktop is a fine default in Windows, and the webapp can be
-used to add other repositories if desired. (Might need to tweak their
-permissions though.)