[csw-maintainers] lighttpd and ipv6
Joerg Schilling
Joerg.Schilling at fokus.fraunhofer.de
Tue Mar 1 18:44:25 CET 2011
Dagobert Michelsen <dam at opencsw.org> wrote:
> >> /1: mkdir("/home/dam", 0700) Err#89 ENOSYS
> >
> > A POSIXly correct error code would be EROFS. Would this help?
>
> I have seen checks for EROFS in code from other programs when
> investigating this issue, but as ENOSYS is returned from mkdir(2)
> I don't see how an explicit check could be avoided with the
> exception of rewriting it the way the Solaris implementation
> did it (traversing from right to left instead of mkdir'ing from
> left to right):
> http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libgen/common/mkdirp.c
The correct place to fix would be in this function:
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/fs/autofs/auto_vnops.c#663
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