diff -Naur gqview.orig/src/ui_bookmark.c gqview/src/ui_bookmark.c --- gqview.orig/src/ui_bookmark.c 2010-06-01 13:51:24.000000000 +0400 +++ gqview/src/ui_bookmark.c 2010-06-03 14:27:05.000000000 +0400 @@ -138,6 +138,8 @@ GList *list; gchar *pathl; + mode_t mask = umask(0077); + pathl = path_from_utf8(path); f = fopen(pathl, "w"); g_free(pathl); @@ -182,6 +184,8 @@ fclose(f); + umask(mask); + return TRUE; }