Commit 2ed23516 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

replaced the 0755 by properly or'ed symbolic values (undid this change

2003-01-02  Michael Natterer  <mitch@gimp.org>

	* app/gui/user-install-dialog.c: replaced the 0755 by properly
	or'ed symbolic values (undid this change from Sven accidentially).
parent d8fd3b04
2003-01-02 Michael Natterer <mitch@gimp.org>
* app/gui/user-install-dialog.c: replaced the 0755 by properly
or'ed symbolic values (undid this change from Sven accidentially).
2003-01-01 Garry R. Osgood <grosgood@rcn.com>
* MAINTAINERS: Updated my CVS.
......
......@@ -1045,9 +1045,13 @@ user_install_run (void)
while (gtk_events_pending ())
gtk_main_iteration ();
if (mkdir (gimp_directory (), 0755) == -1)
if (mkdir (gimp_directory (),
S_IRUSR | S_IWUSR | S_IXUSR |
S_IRGRP | S_IXGRP |
S_IROTH | S_IXOTH) == -1)
{
g_set_error (&error, G_FILE_ERROR, g_file_error_from_errno (errno),
g_set_error (&error,
G_FILE_ERROR, g_file_error_from_errno (errno),
_("Cannot create folder '%s': %s"),
gimp_directory (), g_strerror (errno));
goto break_out_of_loop;
......
......@@ -1045,9 +1045,13 @@ user_install_run (void)
while (gtk_events_pending ())
gtk_main_iteration ();
if (mkdir (gimp_directory (), 0755) == -1)
if (mkdir (gimp_directory (),
S_IRUSR | S_IWUSR | S_IXUSR |
S_IRGRP | S_IXGRP |
S_IROTH | S_IXOTH) == -1)
{
g_set_error (&error, G_FILE_ERROR, g_file_error_from_errno (errno),
g_set_error (&error,
G_FILE_ERROR, g_file_error_from_errno (errno),
_("Cannot create folder '%s': %s"),
gimp_directory (), g_strerror (errno));
goto break_out_of_loop;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment