open(/var/dcc/map): Permission denied

Aldo Necci necci@dia.uniroma3.it
Wed Sep 21 15:36:08 UTC 2011


On Mon, September 19, 2011 18:10, Vernon Schryver wrote:
>> From: "Aldo Necci" <necci@dia.uniroma3.it>
>
>> does anyone know why the following would appear in the logs:
>> dccproc[2304]: open(/var/dcc/map): Permission denied
>
> The /var/dcc/map file must be private and readable only by owner,
> because it can contain client-IDs and passwords for accessing private
> DCC servers.  (The anonmous client-ID of 1 does not use a password.)
>
> `make install` installs dccproc set-UID to the UID specified with
> `./configure --with-uid=UID`  The default UID is 0 or root.


OK. The UID is root and that file is private:
-rw-------. 1 root root 7668 Sep 21 17:21 /var/dcc/map


> It is quite possible that running /var/dcc/libexec/updatedcc
> would fix the problem.  Configure builds updatedcc with the
> ./configure parameters including with-uid.
> After fetching the tarball, updatedcc uses `./configure` and `make
> install` to `chown` and so forth.
> Updatedcc checks to see if it needs to be run by root so that `make`
> can `chown` and so forth.
>
> /var/dcc/dcc_conf-new is also built by updatedcc,
> and can usually be installed as /var/dcc/dcc_conf


I have done all. But the problem is still there:
dccproc[9126]: open(/var/dcc/map): Permission denied

The dccproc file is:
-r-sr-xr-x. 1 root bin 496487 Sep 21 17:21 /usr/local/bin/dccproc

Thanks,
Aldo Necci




-----------------------------------------
This email was sent using SquirrelMail.
https://email.dia.uniroma3.it
Web Site: http://www.squirrelmail.org




More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.