summaryrefslogtreecommitdiff
path: root/daemon/main.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <jmccann@redhat.com>2012-02-07 12:14:48 +0100
committerTomas Bzatek <tbzatek@redhat.com>2012-02-07 12:14:48 +0100
commitf81e381b58bf4dc8ea42ceb50311d4ef92677f72 (patch)
tree2341b81bab7e02ccb620bb31894f743565516978 /daemon/main.c
parent87b5115aa18bc13858ef0d5041855658a22822be (diff)
downloadgvfs-f81e381b58bf4dc8ea42ceb50311d4ef92677f72.tar.gz
Use user runtime dir for gvfs mounts
https://bugzilla.gnome.org/show_bug.cgi?id=646391 Signed-off-by: Tomas Bzatek <tbzatek@redhat.com>
Diffstat (limited to 'daemon/main.c')
-rw-r--r--daemon/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/main.c b/daemon/main.c
index b07fa665..d83aaedc 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -106,7 +106,7 @@ main (int argc, char *argv[])
char *fuse_path;
char *argv2[4];
- fuse_path = g_build_filename (g_get_home_dir (), ".gvfs", NULL);
+ fuse_path = g_build_filename (g_get_user_runtime_dir (), "gvfs", NULL);
if (!g_file_test (fuse_path, G_FILE_TEST_EXISTS))
g_mkdir (fuse_path, 0700);