emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Greg Troxel <gdt@ir.bbn.com>
To: emacs-orgmode@gnu.org
Subject: DAV config for mobileorg
Date: Fri, 18 Jun 2010 08:23:20 -0400	[thread overview]
Message-ID: <rmiy6ec34xz.fsf@fnord.ir.bbn.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1023 bytes --]


I have this 99% working, but I'm unclear on what the permission plan
should be.  My apache 2.2 config is

DavLockDB "/usr/pkg/var/DavLock"
Alias /org/gdt "/home/gdt/ORG"
<Directory "/home/gdt/ORG">
    Options Indexes

    AllowOverride AuthConfig
    Order allow,deny
    Allow from all

    DAV On

    AuthType Digest
    AuthName "org/gdt"
    AuthUserFile /home/gdt/ORG/.htpasswd

    <Limit GET PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
        Require valid-user
    </Limit>
</Directory>


I've set up ~/ORG to be 770 gdt.www, and mobileorg.org 660, so that
apache can write to it.  According to apache docs, I should have all
this data owned by the apache user, and not be reading/writing it with
scp/etc.

  http://httpd.apache.org/docs/2.2/mod/mod_dav.html

I would like to have a second mobileorg user on this system, and have
apache access both files via .htpasswd digest auth, and the system
prevent each user from reading the others.

Am I confused about this?  Any hints appreciated.

[-- Attachment #1.2: Type: application/pgp-signature, Size: 194 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

             reply	other threads:[~2010-06-18 12:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-18 12:23 Greg Troxel [this message]
2010-06-18 18:41 ` DAV config for mobileorg Matthew Jones
2010-06-25 20:04   ` news

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=rmiy6ec34xz.fsf@fnord.ir.bbn.com \
    --to=gdt@ir.bbn.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).