From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Subject: Re: Re: MORE: Using git via USB for personal org dir and other data files Date: Mon, 02 Mar 2009 23:54:56 +1000 Message-ID: <837i38uj0v.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Le8bu-0003Tf-S4 for emacs-orgmode@gnu.org; Mon, 02 Mar 2009 08:55:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Le8bs-0003Sc-UV for emacs-orgmode@gnu.org; Mon, 02 Mar 2009 08:55:10 -0500 Received: from [199.232.76.173] (port=50811 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Le8bs-0003SU-Jo for emacs-orgmode@gnu.org; Mon, 02 Mar 2009 08:55:08 -0500 Received: from wf-out-1314.google.com ([209.85.200.169]:41397) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Le8bs-0004ly-3f for emacs-orgmode@gnu.org; Mon, 02 Mar 2009 08:55:08 -0500 Received: by wf-out-1314.google.com with SMTP id 28so2418056wfc.24 for ; Mon, 02 Mar 2009 05:55:06 -0800 (PST) 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: Bernt Hansen , Sebastian Rose Cc: emacs-orgmode Mailinglist [Thank you to Bernt for the *clear* explanation of using branches!] I seem to be moving out of the woods with this, and for the most part, the experiment has been going smoothly. However, I've run afoul of permissions, a bugaboo that was mentioned in an earlier post on this topic. I established a bare git repo on the USB drive, from a reasonably clean tree. Pushing changes went well later on. I cloned this repo onto the second machine, edited quite a bit, but was dismayed when I tried to push: an error message indicated that some file couldn't be written. So far, the problem seems to be permissions. Preliminary checking shows that the group and user IDs are numerical on the flash drive, corresponding to the ID of the user who originally cloned the repo. I have a tentative plan of action, but I know nothing about the use of permissions with git. 1. I have established a group "git" with a high group number, so I can set create the same group on the work machine, with the same group number. (I think it's too complicated to change user numbers at this point). My users on the two machine have different user names. It would be pretty complicated right now to change the user's ID number. 2. I am setting the group permissions as read and write. # chmod -R g+w /media/BLUE/org.git 3. Does this make sense? This is a great thing. I want to put a whole bunch of work in such a repo. Thank you for the help. Alan -- Alan Davis "An inviscid theory of flow renders the screw useless, but the need for one non-existent." ---Lord Raleigh (John WilliamStrutt), or else his son, who was also a scientist.