[csw-maintainers] lighttpd and ipv6

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Tue Mar 1 18:00:39 CET 2011


Dagobert Michelsen <dam at opencsw.org> wrote:

> The issue was real. When sending compressed data the compression is done
> in a temp directory which is created on demand. If this directory is on
> an automounted filesystem (like /home/dam) the result of mkdir(2) is
> ENOSYS instead of EEXIST which confuses the recursive directory creation
> routine thinking that the directory is already there:
>
>   /1:     mkdir("/home", 0700)                            Err#17 EEXIST
>   /1:     mkdir("/home/dam", 0700)                        Err#89 ENOSYS

A POSIXly correct error code would be EROFS. Would this help?

Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily


More information about the maintainers mailing list