changed permission settings for new directories - fiche - A pastebin adjusted for gopher use
 (HTM) git clone git://vernunftzentrum.de/fiche.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 832fc9b695825461fb7981e9a065d4c4d4a10478
 (DIR) parent ebe5c33cd626dfc9a09e608707f1db5cab8a84f1
 (HTM) Author: solusipse <solus1ps3@gmail.com>
       Date:   Fri,  6 Sep 2013 14:08:50 +0200
       
       changed permission settings for new directories
       
       Diffstat:
         fiche.c                             |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/fiche.c b/fiche.c
       @@ -181,8 +181,8 @@ int create_directory(char *slug)
            strcpy(directory, BASEDIR);
            strcat(directory, slug);
        
       -    mkdir(BASEDIR, S_IRWXU | S_IRGRP | S_IROTH);
       -    int result = mkdir(directory, S_IRWXU | S_IRGRP | S_IROTH);
       +    mkdir(BASEDIR, S_IRWXU | S_IRGRP | S_IROTH | S_IXOTH | S_IXGRP);
       +    int result = mkdir(directory, S_IRWXU | S_IRGRP | S_IROTH | S_IXOTH | S_IXGRP);
        
            free(directory);