git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ringo De Smet <ringo.desmet@gmail.com>
To: git@vger.kernel.org
Subject: gitosis and symlink requirement
Date: Tue, 5 May 2009 14:50:30 +0200	[thread overview]
Message-ID: <C4130655-CC74-498B-AF99-045F79D367B9@gmail.com> (raw)

Hello Tommi,

I just tried to setup gitosis on a VirtualBox virtual machine with  
guest OS Ubuntu 8.10 Intredid Server (amd64). However, the  
installation fails with the following stacktrace:

Initialized empty Git repository in /home/git/repositories/gitosis- 
admin.git/
Reinitialized existing Git repository in /home/git/repositories/ 
gitosis-admin.git/
Traceback (most recent call last):
   File "/usr/bin/gitosis-init", line 8, in <module>
     load_entry_point('gitosis==0.2', 'console_scripts', 'gitosis- 
init')()
   File "/usr/lib/python2.5/site-packages/gitosis-0.2-py2.5.egg/ 
gitosis/app.py", line 24, in run
     return app.main()
   File "/usr/lib/python2.5/site-packages/gitosis-0.2-py2.5.egg/ 
gitosis/app.py", line 38, in main
     self.handle_args(parser, cfg, options, args)
   File "/usr/lib/python2.5/site-packages/gitosis-0.2-py2.5.egg/ 
gitosis/init.py", line 142, in handle_args
     symlink_config(git_dir=admin_repository)
   File "/usr/lib/python2.5/site-packages/gitosis-0.2-py2.5.egg/ 
gitosis/init.py", line 64, in symlink_config
     tmp,
OSError: [Errno 1] Operation not permitted

I found the rootcause: I run /home/git on a VirtualBox Shared Folder.  
I use this setup since all my Shared Folders of the host OS are in a  
backup plan. The git home folder is mounted using the vboxsf file  
system type, which does not support symbolic links:

http://www.virtualbox.org/ticket/818

Is there a possibility of updating gitosis so the symlinking is not  
needed?

Ringo De Smet

                 reply	other threads:[~2009-05-05 12:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

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

  git send-email \
    --in-reply-to=C4130655-CC74-498B-AF99-045F79D367B9@gmail.com \
    --to=ringo.desmet@gmail.com \
    --cc=git@vger.kernel.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.
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 NNTP newsgroup(s).