tfix mode for polls/ - vote - simple cgi voting system for web and gopher (HTM) git clone git://src.adamsgaard.dk/vote (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit cb2cf1d1ce9a181c872544f55ef5531725e57864 (DIR) parent bdce2ea7346baf238f503b73cf219558fd53a28d (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Sun, 27 Sep 2020 00:52:52 +0200 fix mode for polls/ Diffstat: M vote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/vote.c b/vote.c t@@ -46,7 +46,7 @@ main() { exit(1); } - if (mkdir("polls", 644) == -1) { + if (mkdir("polls", 0755) == -1) { fprintf(stderr, "mkdir polls/ failed: %s\n", strerror(errno)); OUT("Status: 500 Internal Server Error\r\n\r\n"); exit(0);