diff options
author | Ainola | 2017-12-03 09:23:30 -0700 |
---|---|---|
committer | Ainola | 2017-12-03 09:23:30 -0700 |
commit | c0a56e23edf63c8ec6668c34f235c1f3c0dc5c22 (patch) | |
tree | dbb359f9eec438ca4580f092022a27608976587e /xdg_config_dir_permissions.patch | |
parent | 235d1bf85aea96ee34ce68e9d4bf6af9a06b19a3 (diff) | |
download | aur-c0a56e23edf63c8ec6668c34f235c1f3c0dc5c22.tar.gz |
apply patch to fix XDG_CONFIG dir permissions
Diffstat (limited to 'xdg_config_dir_permissions.patch')
-rw-r--r-- | xdg_config_dir_permissions.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/xdg_config_dir_permissions.patch b/xdg_config_dir_permissions.patch new file mode 100644 index 000000000000..a4a67656b737 --- /dev/null +++ b/xdg_config_dir_permissions.patch @@ -0,0 +1,28 @@ +From 0f3c23f0d752af1eff7dec7ca95143e4b4f1eb97 Mon Sep 17 00:00:00 2001 +From: gnome-mpv <gnome-mpv@nowhere> +Date: Mon, 23 Oct 2017 09:43:36 -0700 +Subject: [PATCH] application: Change the default permission for config dirs to + 755 + +Fixes #319. +--- + src/gmpv_application.c | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/gmpv_application.c b/src/gmpv_application.c +index aa90827..d9f425e 100644 +--- a/src/gmpv_application.c ++++ b/src/gmpv_application.c +@@ -156,9 +156,9 @@ static void create_dirs() + gchar *scripts_dir = get_scripts_dir_path(); + gchar *watch_dir = get_watch_dir_path(); + +- g_mkdir_with_parents(config_dir, 0600); +- g_mkdir_with_parents(scripts_dir, 0700); +- g_mkdir_with_parents(watch_dir, 0600); ++ g_mkdir_with_parents(config_dir, 0755); ++ g_mkdir_with_parents(scripts_dir, 0755); ++ g_mkdir_with_parents(watch_dir, 0755); + + g_free(config_dir); + g_free(scripts_dir); |