1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

Fixed permission of plugin directories (was 0644, set to 0755)

This commit is contained in:
Sebastien Helleu
2008-03-09 11:27:11 +01:00
parent 0bcb399670
commit 0e869a67c9
+2 -2
View File
@@ -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);
}