diff options
author | http://hendry.iki.fi/ <hendry@web> | 2010-10-14 12:25:48 +0000 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-14 12:25:48 +0000 |
commit | a14c2a9cd0f04062e32c218b799076adaf8b934e (patch) | |
tree | d0d2fd3527af29c09054adda117394b0b5f56254 /doc | |
parent | dcd89979379b7cbaab7ec4af0411796bdcf16f44 (diff) |
perms
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/More_permission_checking.mdwn | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/bugs/More_permission_checking.mdwn b/doc/bugs/More_permission_checking.mdwn new file mode 100644 index 000000000..e56cda98b --- /dev/null +++ b/doc/bugs/More_permission_checking.mdwn @@ -0,0 +1,9 @@ +I'm often confused about permissions and I wish ikiwiki could stamp it's foot down and ensure all the permissions are correctly (canonically?) setup. + +I keep ending up having to `sudo chown -R :www-data` and `sudo chmod -R g+w` on srcdir, destdir. I'm never quite sure what is the best practice for the srcdirs' `/srv/git/` is. Currently everything looks like `hendry:www-data` with ug+rw. + +I think I've triggered these problems by (not thinking and) running `ikiwiki --rebuild --setup /home/hendry/.ikiwiki/mywiki.setup` as my user. + +I don't know if there can be some lookup with `/etc/ikiwiki/wikilist`. Though shouldn't everything be under the `www-data` group in reality? + +Also when I use `sudo ikiwiki -setup /etc/ikiwiki/auto.setup`, I think I create a ton of problems for myself since everything is created as the root user, right? And `/etc/ikiwiki/wikilist` doesn't seem to have the latest created wiki added. I have to reluctantly manually do this. |