From: Greg Troxel <gdt@ir.bbn.com>
To: Richard Riley <rileyrg@googlemail.com>
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: mobile org problems
Date: Wed, 02 Mar 2011 11:04:26 -0500 [thread overview]
Message-ID: <rmivd01zeyd.fsf@fnord.ir.bbn.com> (raw)
In-Reply-To: <1ntyfm4h19.fsf@news.eternal-september.org> (Richard Riley's message of "Tue, 01 Mar 2011 23:22:58 +0100")
[-- Attachment #1.1: Type: text/plain, Size: 1154 bytes --]
I use MobileOrg with webdav, both remote over ssh/tramp, and locally
(two separate setups).
On the ssh one:
(setq org-mobile-directory "/ssh:foo.example.org:/usr/home/gdt/ORG")
(setq org-mobile-inbox-for-pull
(concat org-directory "/from-mobile.org"))
(setq org-mobile-use-encryption t)
(setq org-mobile-encryption-password "password")
But, the tricky part is dealing with permissions.
Basically, the webdav world seems to want you to only access it via
webdav, and joint filesystem and webdav access is troublesome.
My remote directory is (on NetBSD, which I think inherits gid even
without the SysV-style sgid directory):
drwxrws--- 2 gdt www 512 Mar 2 09:08 ORG/
and I run this script from cron every 5 minutes:
#!/bin/sh
cd /home/gdt/ORG
find . -type f \! -group www | while read f; do
echo -n "GROUP "; ls -l $f
chgrp www $f
done
find . -type f -name mobileorg\* \! -perm -220 | while read f; do
echo -n "MODE "; ls -l $f
chmod g+w $f
done
An alternative would be to have a webdav fs on the machine with the org
files, and to use that to write to the webdav area.
My webdav setup is straightforward apache.
[-- 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
next prev parent reply other threads:[~2011-03-02 16:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-01 22:22 mobile org problems Richard Riley
2011-03-02 13:09 ` Richard Riley
2011-03-02 16:04 ` Greg Troxel [this message]
2011-03-02 16:08 ` Greg Troxel
2011-03-02 16:08 ` Richard Riley
2011-03-02 16:10 ` Greg Troxel
2011-03-02 16:10 ` Greg Troxel
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=rmivd01zeyd.fsf@fnord.ir.bbn.com \
--to=gdt@ir.bbn.com \
--cc=emacs-orgmode@gnu.org \
--cc=rileyrg@googlemail.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).