[distcc] mkdir /root/.distcc failed: Permission denied
Martin Pool
mbp at sourcefrog.net
Tue Mar 21 10:52:40 GMT 2006
On 18 Mar 2006, Niki Kovacs <contact at kikinovak.net> wrote:
> Since programs like Qt can only be built as root, I run make as root... there,
Is that really true? It sounds strange. For many projects you can do
this
% make
% sudo make install
so that only the installation is done as root.
> I get the following error message:
>
> ERROR: mkdir /root/.distcc failed: Permission denied
>
> I figure this is because distccd runs as user nobody (I explicitly told it to
> do so).
>
> Q1: what user should distccd be run as ideally? I tried --user root, but he
> didn't like it and exited.
Ideally you should create a specific account for distcc and run it as
that. That user will need permission to write to the log file.
On many distributions something like 'adduser --system distccd' will do
it.
--
Martin
More information about the distcc
mailing list