I have no idea why those umask calls are there... GNU's mkdir.c uses umask when recursively creating directories so it will be guaranteed to have permission to create the whole chain, but that is obviously not the case with LuaFileSystem. :-) I removed it from github's master tree.
-- Fabio Mascarenhas On Sun, Dec 27, 2009 at 9:32 AM, Enrico Tassi <gareuselesi...@libero.it> wrote: > Recently two bugs were reported against the Debian package for luafilesystem. > You can see them and reply to them with the address bugnum...@bugs.debian.org > > http://bugs.debian.org/cgi-bin/pkgreport.cgi?src=lua-filesystem&archive=no&pend-exc=pending-fixed&pend-exc=fixed&pend-exc=done&sev-inc=important&sev-inc=normal > > One is particularly nasty, since it leaves a created directory with bad > permissions; the solution consists in swapping few lines of code. > > The other one is more a whishlist, but looks reasonable to me so I > thought it was worth mentioning it. It essentially asks to espose more > fields of the stat structure under Unix, most notably file permissions. > > Cheers > -- > Enrico Tassi > > _______________________________________________ > Kepler-Project mailing list > Kepler-Project@lists.luaforge.net > http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project > http://www.keplerproject.org/ > _______________________________________________ Kepler-Project mailing list Kepler-Project@lists.luaforge.net http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project http://www.keplerproject.org/