Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

When creating a new file, permissions should be 0644. Only new direct…

…ories should be 0755.
  • Loading branch information...
commit 42d43591fe826a1300fac5e4b1b2c5c036d4efdc 1 parent fe0d7a3
@ndbroadbent ndbroadbent authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  treebrowser/src/treebrowser.c
View
2  treebrowser/src/treebrowser.c
@@ -1032,7 +1032,7 @@ on_menu_create_new_object(GtkMenuItem *menuitem, gchar *type)
if (utils_str_equal(type, "directory"))
creation_success = (g_mkdir(uri_new, 0755) == 0);
else
- creation_success = (g_creat(uri_new, 0755) != -1);
+ creation_success = (g_creat(uri_new, 0644) != -1);
if (creation_success)
{
Please sign in to comment.
Something went wrong with that request. Please try again.