emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Greg Troxel <gdt@ir.bbn.com>
To: Jeff Horn <jrhorn424@gmail.com>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: What WebDAV service do you use for syncing org files?
Date: Thu, 21 Oct 2010 08:52:04 -0400	[thread overview]
Message-ID: <rmieibjd7yj.fsf@fnord.ir.bbn.com> (raw)
In-Reply-To: <AANLkTinKEZP2=VxfgJBX87iM27FjJvSTfSCkhGUtw2Y=@mail.gmail.com> (Jeff Horn's message of "Thu, 21 Oct 2010 04:19:42 -0400")


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


Jeff Horn <jrhorn424@gmail.com> writes:

> I keep wanting to test out MobileOrg on my Android phone, but I'm
> having a heck of a time figuring out why the SD sync isn't working
> like I expect. I'd like to sync org files with a WebDAV server, if
> possible. I currently use Dropbox, but it doesn't offer WebDAV. I can
> mount a WebDAV server in the file system so it'll work *kind of* like
> Dropbox.

The org mode part just needs to have a directory it can put files into
so that the client can access them.  Then the mobileorg client has to
get at them.  So you have to have someplace where you can make both
work. I think the options are

* dropbox

Use a dropbox client locally, to make dropbox space appear to be part of
local filesystem, and just set org-mobile-directory to be in there.
MobileOrg (iphone) has support for that; not sure about android versoin.

I think it's ridiculous to use a 3rd party server without encrypting
your org files, but of course your privacy views may be different.

* local apache 

I have an org setup where I have org-mobile-directory set to ~/ORG-dav,
which is just a directory on my disk (NetBSD, UFS2, nothing fancy).  I
have apache configured to put that directory into the webspace, and
configure MobileOrg to do webdav there, and set up .htaccess.  I have to
be careful to set up permissions so apache as www/www can access the
files - it's a bit hairy.

* remote apache with ssh

I have another org setup where I have org-mobile-directory set:

(setq org-mobile-directory "/ssh:foo.example.com:/usr/home/gdt/ORG")

which causes org-mobile to use tramp to place/fetch the files.  I then
have the same apache setup.

* remote apache with a dav fs

I haven't set this up, but it should be possible to use a webdav fs
(fuse, etc.) on the computer with the org files to be the staging area,
so that emacs will write over dav.  This is pleasing from a permission
point of view, because then the files that apache deals with are
accessed by two webdav clients with the same credentials, and the apache
permission scheme and the unix permission scheme don't have to be
deconflicted.


My apache setup is striaght by the book, with htdigest.


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

    AllowOverride AuthConfig
    Order allow,deny
    Allow from all

    DAV On

    AuthType Digest
    AuthName "special-auth-name"
    AuthDigestFile someplace

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


[-- 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

  parent reply	other threads:[~2010-10-21 12:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-21  8:19 What WebDAV service do you use for syncing org files? Jeff Horn
2010-10-21  8:38 ` Jeff Horn
2010-10-21  9:27   ` Holger Wenzel
2010-10-21 17:33     ` Jeff Horn
2010-10-21 19:09       ` Holger Wenzel
2010-11-01  5:18         ` Jeff Horn
2010-10-21  9:28   ` Jean-Marie Gaillourdet
2010-10-21 12:52 ` Greg Troxel [this message]
     [not found] ` <AANLkTimv7KcpdLu_aUeZ8HKbNFb91=yjCnOpf9zVYTe1@mail.gmail.com>
2010-10-21 17:37   ` Jeff Horn

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=rmieibjd7yj.fsf@fnord.ir.bbn.com \
    --to=gdt@ir.bbn.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jrhorn424@gmail.com \
    /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).