aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2015-09-16 18:08:20 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2015-09-16 18:08:20 -0400
commite86168336cc7607d4bd9db59f334e51e0bcd8b03 (patch)
treea6b81399131365d7298ccec6a66f6a1be2a8632e
parentDefault profiles work (diff)
downloadfirejail-e86168336cc7607d4bd9db59f334e51e0bcd8b03.tar.gz
firejail-e86168336cc7607d4bd9db59f334e51e0bcd8b03.tar.zst
firejail-e86168336cc7607d4bd9db59f334e51e0bcd8b03.zip
fix for issue #64
-rw-r--r--src/firejail/fs_home.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/fs_home.c b/src/firejail/fs_home.c
index 2df48ffbb..21a2e83e5 100644
--- a/src/firejail/fs_home.c
+++ b/src/firejail/fs_home.c
@@ -370,7 +370,7 @@ static void duplicate(char *name) {
370 } 370 }
371 371
372 // copy the file 372 // copy the file
373 if (asprintf(&cmd, "cp -a --parents %s %s", fname, HOME_DIR) == -1) 373 if (asprintf(&cmd, "cp -a --parents \"%s\" %s", fname, HOME_DIR) == -1)
374 errExit("asprintf"); 374 errExit("asprintf");
375 if (arg_debug) 375 if (arg_debug)
376 printf("%s\n", cmd); 376 printf("%s\n", cmd);