mirror of https://github.com/GNOME/gimp.git
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).
This commit is contained in:
parent
d8fd3b04c1
commit
2ed235164f
|
@ -1,3 +1,8 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue