[fossil-users] Issues with 1.19 ...

2011-09-07 Thread Jousef Lofstrom
I have fossil started this way in /etc/rc.local ... /usr/local/bin/fossil server /home/myself/project/ ... thus running with uid 'root' but targeting fossil archives owned by user 'myself' in directory '/home/myself/project' In the web ui when I select [Admin] - [Settings] I now get ...

Re: [fossil-users] Issues with 1.19 ...

2011-09-07 Thread Stephan Beal
On Wed, Sep 7, 2011 at 6:18 PM, Jousef Lofstrom jou...@bigfoot.com wrote: invalid home directory: /root That comes from db.c: zHome = getenv(HOME); ... if( file_isdir(zHome)!=1 ){ fossil_fatal(invalid home directory: %s, zHome); } is /root perhaps a symlink to /home/root or some

Re: [fossil-users] Issues with 1.19 ...

2011-09-07 Thread Jousef Lofstrom
myself@myhostls -ld /root drwxr-x--- 8 root root 4096 Aug 24 15:40 /root myself@myhost mount|grep bind|grep root myself@myhost ... '/root' is not a symlink and not bound (mount bind) to another location, just a normal directory. /Jousef ___

Re: [fossil-users] Issues with 1.19 ...

2011-09-07 Thread Dmitry Chestnykh
On Sep 7, 2011, at 6:53 PM, Stephan Beal wrote: On Wed, Sep 7, 2011 at 6:18 PM, Jousef Lofstrom jou...@bigfoot.com wrote: invalid home directory: /root That comes from db.c: zHome = getenv(HOME); ... if( file_isdir(zHome)!=1 ){ fossil_fatal(invalid home directory: %s, zHome);

Re: [fossil-users] Issues with 1.19 ...

2011-09-07 Thread Stephan Beal
On Wed, Sep 7, 2011 at 8:56 PM, Jousef Lofstrom jou...@netscape.net wrote: ... '/root' is not a symlink and not bound (mount bind) to another location, just a normal directory. Try: fossil help set | grep syml IIRC (possibly wrongly), there's an option to disable the symlinks support,

Re: [fossil-users] Issues with 1.19 ...

2011-09-07 Thread Jousef Lofstrom
That re/pattern couldn't be found ... fossil help set | grep -ci syml == 0 /Jousef ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Re: [fossil-users] Issues with 1.19 ...

2011-09-07 Thread Stephan Beal
On Wed, Sep 7, 2011 at 11:17 PM, Jousef Lofstrom jou...@netscape.netwrote: That re/pattern couldn't be found ... fossil help set | grep -ci syml == 0 Doh. So much for that idea. We'll have to wait for someone more inventive than i to advise. :) -- - stephan beal

Re: [fossil-users] Issues with 1.19 ...

2011-09-07 Thread Gé Weijers
My guess: because you're running as root fossil locks itself in a 'chroot' jail. Try creating a directory 'root' in the directory your repository lives in, and make sure the owner of the repository can write to that directory. Or you can set HOME=/ which sets the home directory to the root of

Re: [fossil-users] Issues with 1.19 ...

2011-09-07 Thread Jousef Lofstrom
Right on ... that solved it. Many thanks for the help! /Jousef ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users