summaryrefslogtreecommitdiff
path: root/src/lib/efreet/efreet_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/efreet/efreet_base.c')
-rw-r--r--src/lib/efreet/efreet_base.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/efreet/efreet_base.c b/src/lib/efreet/efreet_base.c
index 93e264cf70..7169cc6f1d 100644
--- a/src/lib/efreet/efreet_base.c
+++ b/src/lib/efreet/efreet_base.c
@@ -335,6 +335,7 @@ efreet_dirs_init(void)
335 } 335 }
336 else if ((st.st_mode & 0777) != 0700) 336 else if ((st.st_mode & 0777) != 0700)
337 { 337 {
338#ifdef HAVE_GETEUID
338 if (st.st_uid == geteuid()) 339 if (st.st_uid == geteuid())
339 { 340 {
340 ERR("XDG_RUNTIME_DIR=%s is mode %o, changing to 0700", 341 ERR("XDG_RUNTIME_DIR=%s is mode %o, changing to 0700",
@@ -346,6 +347,7 @@ efreet_dirs_init(void)
346 eina_stringshare_replace(&xdg_runtime_dir, NULL); 347 eina_stringshare_replace(&xdg_runtime_dir, NULL);
347 } 348 }
348 } 349 }
350#endif
349 } 351 }
350 /* hostname */ 352 /* hostname */
351 if (gethostname(buf, sizeof(buf)) < 0) 353 if (gethostname(buf, sizeof(buf)) < 0)