GNOME Bugzilla – Bug 563880
Don't use hardcoded directory permissions when directory doesn't exist yet
Last modified: 2021-07-05 11:00:33 UTC
Use default umask instead. Other information: [falko@leftie libxslt-1.1.17]$ grep -A5 -B5 mkdir libxslt/security.c return(0); } } ret = xsltCheckWrite(sec, ctxt, (const xmlChar *)directory); if (ret == 1) ret = mkdir(directory, 0755); if (ret < 0) return(ret); } xmlFree(directory); }
I'm not sure how safe it is to remove the permissions (0755). Within Linux this should be fine and should default to umask... Maybe just try to create without hardcoded perms and if that fails, then try with it!?
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxslt/-/issues/ Thank you for your understanding and your help.