summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authoranselm@garbe.us <unknown>2012-02-11 10:40:32 +0100
committeranselm@garbe.us <unknown>2012-02-11 10:40:32 +0100
commita0e269b6bd9d7a70148f4ccbc733df35f071ba74 (patch)
treee1fb6c0f9af347877c457b9dd65539f7d4198fda /surf.c
parent3da24a7481dcacaebf63ee62e112df679c38bebc (diff)
downloadsurf-a0e269b6bd9d7a70148f4ccbc733df35f071ba74.tar.gz
surf-a0e269b6bd9d7a70148f4ccbc733df35f071ba74.tar.bz2
surf-a0e269b6bd9d7a70148f4ccbc733df35f071ba74.zip
applied fix from dev list and debian reviewers
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/surf.c b/surf.c
index a3508bf..bff621b 100644
--- a/surf.c
+++ b/surf.c
@@ -127,7 +127,7 @@ buildpath(const char *path) {
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 "/") */
@@ -867,7 +867,7 @@ main(int argc, char *argv[]) {
showxid = TRUE;
break;
case 'v':
- die("surf-"VERSION", © 2009 surf engineers, see LICENSE for details\n");
+ die("surf-"VERSION", ©2009-2012 surf engineers, see LICENSE for details\n");
default:
usage();
}