Introduction
Introduction Statistics Contact Development Disclaimer Help
changed permission settings for new directories - fiche - A pastebin adjusted f…
git clone git://vernunftzentrum.de/fiche.git
Log
Files
Refs
LICENSE
---
commit 832fc9b695825461fb7981e9a065d4c4d4a10478
parent ebe5c33cd626dfc9a09e608707f1db5cab8a84f1
Author: solusipse <[email protected]>
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(-)
---
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_IX…
free(directory);
You are viewing proxied material from vernunftzentrum.de. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.