Thanks, I'll create a new account for the repositories from now
on and set FOSSIL_HOME=/. The problem only appears if I run
fossil as root when compiled with --with-th1-hooks as one of the
options and FOSSIL_HOME is not set. Before this, I used
the "Linux 3.x x86" version from fossil-scm.org, which
On 2/29/2016 3:01 PM, Alexandru Birsanu wrote:
Thanks for the explanations. Since Fossil 1.34 didn't have this
issue I assumed it might be a bug not a new feature :). I've tried
the following and it works great when run as root.
export FOSSIL_HOME=/
mkdir /repos && cd /repos
fossil new repo.foss
Thanks for the explanations. Since Fossil 1.34 didn't have this
issue I assumed it might be a bug not a new feature :). I've tried
the following and it works great when run as root.
export FOSSIL_HOME=/
mkdir /repos && cd /repos
fossil new repo.fossil
fossil server repo.fossil
On Mon, Feb 29, 2016
On 2/29/16, jungle Boogie wrote:
>
> Could you point to where in the code the chroot is created?
https://en.wikipedia.org/wiki/Grep
https://www.fossil-scm.org/fossil/artifact/e75796be533?ln=1462-1523
--
D. Richard Hipp
d...@sqlite.org
___
fossil-user
On 2/29/2016 11:43 AM, jungle Boogie wrote:
On 29 February 2016 at 10:36, Richard Hipp wrote:
Right. The "fossil server", "fossil http", "fossil cgi" and similar
commands all check to see if they are running as root, and if they are
they immediately create a chroot jail on the directory
On 29 February 2016 at 10:36, Richard Hipp wrote:
> On 2/29/16, Joe Mistachkin wrote:
>>
>> Alexandru Birsanu wrote:
>>>
>>> HOME=/root and FOSSIL_HOME is not set. It still doesn't work if I set
>>> FOSSIL_ROOT to /root before make clean && ./configure
>>> --with-th1-hooks. I've also tested it wi
On 2/29/16, Joe Mistachkin wrote:
>
> Alexandru Birsanu wrote:
>>
>> HOME=/root and FOSSIL_HOME is not set. It still doesn't work if I set
>> FOSSIL_ROOT to /root before make clean && ./configure
>> --with-th1-hooks. I've also tested it with a non-root user, and that
>> works fine.
>>
>
> IIRC, th
Alexandru Birsanu wrote:
>
> HOME=/root and FOSSIL_HOME is not set. It still doesn't work if I set
> FOSSIL_ROOT to /root before make clean && ./configure
> --with-th1-hooks. I've also tested it with a non-root user, and that
> works fine.
>
IIRC, the "fossil server" command runs in a chroot jai
8 matches
Mail list logo