After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 563880 - Don't use hardcoded directory permissions when directory doesn't exist yet
Don't use hardcoded directory permissions when directory doesn't exist yet
Status: RESOLVED OBSOLETE
Product: libxslt
Classification: Platform
Component: general
1.1.17
Other All
: Normal minor
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-09 16:44 UTC by Oliver Falk
Modified: 2021-07-05 11:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Oliver Falk 2008-12-09 16:44:05 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);
	}
Comment 1 Oliver Falk 2008-12-09 16:45:21 UTC
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!?
Comment 2 GNOME Infrastructure Team 2021-07-05 11:00:33 UTC
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.