--- surf.c.orig 2012-02-11 10:42:25.439766456 +0100 +++ surf.c 2012-02-11 10:42:39.279767695 +0100 @@ -126,7 +126,7 @@ apath = g_strconcat(g_get_home_dir(), "/", path, NULL); if((p = strrchr(apath, '/'))) { *p = '\0'; - g_mkdir_with_parents(apath, 0755); + g_mkdir_with_parents(apath, 0700); *p = '/'; } /* creating file (gives error when apath ends with "/") */