summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Matt Colyer2008-08-18 09:06:34 -0700
committerGravatar Matt Colyer2008-08-18 09:06:34 -0700
commit0a50a87d68267274cbcefc05145e26ec444dcfae (patch)
tree1a937d3e1bebcb9390fa8d0ce230d542cd21f303 /src
parentbc6f309b2bd341e04d2a1a9cc2c035f2dd44e0e7 (diff)
downloadlibimobiledevice-0a50a87d68267274cbcefc05145e26ec444dcfae.tar.gz
libimobiledevice-0a50a87d68267274cbcefc05145e26ec444dcfae.tar.bz2
Fixed bogus file permissions on the configuration directory.
Diffstat (limited to 'src')
-rw-r--r--src/userpref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userpref.c b/src/userpref.c
index 46e97b7..68f5e32 100644
--- a/src/userpref.c
+++ b/src/userpref.c
@@ -260,7 +260,7 @@ inline void create_config_dir() {
gchar* config_dir;
config_dir = g_build_path(G_DIR_SEPARATOR_S, g_get_user_config_dir(), LIBIPHONE_CONF_DIR, NULL);
- g_mkdir_with_parents(config_dir, 755);
+ g_mkdir_with_parents(config_dir, 0755);
g_free(config_dir);
}