On Wed, Sep 7, 2011 at 6:18 PM, Jousef Lofstrom <[email protected]> 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 such?
>From file.c, file_isdir() contains:
#if !defined(_WIN32)
if( g.allowSymlinks ){
return rc ? 0 : (S_ISDIR(fileStat.st_mode) && !S_ISLNK(fileStat.st_mode)
? 1 : 2);
}else{
return rc ? 0 : (S_ISDIR(fileStat.st_mode) ? 1 : 2);
}
#else
so it could be related to the new symlinks support.
--
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users