diff options
author | Joey Hess <joey@kitenet.net> | 2008-07-15 18:22:57 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2008-07-15 18:22:57 -0400 |
commit | ed7f892072d5956f7b71c09ff72585d1c0450868 (patch) | |
tree | 25a303d7b8fb5580bfada96dc72ccd6627d5303c /doc/rcs | |
parent | 56e81e80009bf4f73d20810aa3a73d16e2115648 (diff) | |
download | ikiwiki-ed7f892072d5956f7b71c09ff72585d1c0450868.tar ikiwiki-ed7f892072d5956f7b71c09ff72585d1c0450868.tar.gz |
web commit by mrled
Diffstat (limited to 'doc/rcs')
-rw-r--r-- | doc/rcs/git/discussion.mdwn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/rcs/git/discussion.mdwn b/doc/rcs/git/discussion.mdwn index 403a92e92..2bb61c6a1 100644 --- a/doc/rcs/git/discussion.mdwn +++ b/doc/rcs/git/discussion.mdwn @@ -84,6 +84,8 @@ I think it would be a good thing if the various git pages where somehow unified. # Does 'push' from the shallow clones work for you? git-clone and git-fetch explicitly state it doesn't... +------- + ## Permissions for web users and local users editing and creating pages What is the right permissions setup for a situation where both web and local users will be editing and creatingt pages? My usage is this: I have a repository /srv/git/wiki.git chowned to me:apache with 775/664 permissions recursively (where 'me' is my account and the ikiwiki administrator), a /srv/www/ikisrc chowned to apache:apache, and a /srv/www/html/wiki chowned to apache:apache. As is, I can commit to the wiki.git repo (because it is owned by me) and web users can commit to it as well (because the group also has write access) what happens when I create a new page from either of those sources? For example, the apache user running ikiwiki.cgi would create /srv/www/ikisrc/something.mdwn, commit and push it to /srv/git/wiki.git, but that new object is owned by apache:apache. If I then try to commit a change to something.mdwn from a cloned repo sitting on my laptop, for example, will the commit not fail because apache created the files? |