Please try the latest trunk check-in and let use know whether or not it fixes your issue.
On 3/25/19, Winter, Martin <martin.win...@siemens.com> wrote: > Hi all, > > since I have received no reaction to my contribution, would like to draw > your attention to it again. > > It is annoying that you get an error message when extracting files from an > sqlar archive using sqlite3 -Ax when this archive contains files with > permission bits 0664 in subdirectories, as the directories are created > without the "x" bit set. > > I think that is not what the user expects and should be changed. > > Thanks > Martin > >> -----Ursprüngliche Nachricht----- >> Von: Winter, Martin (CT RDA IOT EWT-DE) >> Gesendet: Montag, 11. März 2019 08:01 >> An: 'sqlite-users@mailinglists.sqlite.org' >> <sqlite-users@mailinglists.sqlite.org> >> Betreff: sqlar: makeDirectory called with permission bits of file >> >> Hi, >> >> when extracting files in subdirectories from an sqlar archive, or when >> otherwise using the writefile function to create a file in a >> subdirectory, the makeDirectory function is called with the permission >> bits of the file. If e.g. the file has permission bits 0664, then the >> directory will have the same bits set, which results in a directory in >> which files cannot be accessed, as the execute bits are not set. >> >> In this situation the permission bits of the directory are not explicitly >> given. However it would be much more appropriate to assume a >> 0755 permission for the directory, instead of using those of the file. >> >> In the current code base the relevant code can be found at >> >> https://www.sqlite.org/src/artifact?udc=1&ln=on&name=e7864c391e14ccaf >> >> line 481ff, where the "mode" variable is used both to create the file and >> to create the directory, if necessary. >> >> Martin > _______________________________________________ > sqlite-users mailing list > sqlite-users@mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users > -- D. Richard Hipp d...@sqlite.org _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users