summaryrefslogtreecommitdiff
path: root/src/plugins/scripts
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-03-09 11:27:11 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-03-09 11:27:11 +0100
commit0e869a67c9b4a9048718ba430eca8589aaf9cffd (patch)
treed07c022a6a7ad648774f038bd0eae5dbae0e9e9e /src/plugins/scripts
parent0bcb399670e2613b62785438ff9eba12d65f120f (diff)
downloadweechat-0e869a67c9b4a9048718ba430eca8589aaf9cffd.zip
Fixed permission of plugin directories (was 0644, set to 0755)
Diffstat (limited to 'src/plugins/scripts')
-rw-r--r--src/plugins/scripts/script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/scripts/script.c b/src/plugins/scripts/script.c
index fb28a46b5..53f9dc425 100644
--- a/src/plugins/scripts/script.c
+++ b/src/plugins/scripts/script.c
@@ -112,13 +112,13 @@ script_init (struct t_weechat_plugin *weechat_plugin,
}
/* create directories in WeeChat home */
- weechat_mkdir_home (weechat_plugin->name, 0644);
+ weechat_mkdir_home (weechat_plugin->name, 0755);
length = strlen (weechat_plugin->name) + strlen ("/autoload") + 1;
string = (char *)malloc (length * sizeof (char));
if (string)
{
snprintf (string, length, "%s/autoload", weechat_plugin->name);
- weechat_mkdir_home (string, 0644);
+ weechat_mkdir_home (string, 0755);
free (string);
}