From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Troxel Subject: Re: mobile org problems Date: Wed, 02 Mar 2011 11:04:26 -0500 Message-ID: References: <1ntyfm4h19.fsf@news.eternal-september.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1454197652==" Return-path: Received: from [140.186.70.92] (port=57139 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuoXN-0006er-89 for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 11:04:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuoXM-0000Jp-Au for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 11:04:29 -0500 Received: from fnord.ir.bbn.com ([192.1.100.210]:50716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuoXM-0000Iv-8O for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 11:04:28 -0500 In-Reply-To: <1ntyfm4h19.fsf@news.eternal-september.org> (Richard Riley's message of "Tue, 01 Mar 2011 23:22:58 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Richard Riley Cc: Emacs-orgmode mailing list --===============1454197652== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain 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. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (NetBSD) iEYEARECAAYFAk1uaooACgkQ+vesoDJhHiXjTACgmdLf8SgvmKyME78l3r3oLNWC macAnil6Q862M5GbJ/tJMEniXQiwMlJc =BaPW -----END PGP SIGNATURE----- --=-=-=-- --===============1454197652== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1454197652==--