summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-18 01:20:46 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-18 01:20:46 +0800
commit8f3db00034e5e10ef6188e6650f6633391cca751 (patch)
treeefca47dc7ab90cbd0907421b09702d8fb2411fe4 /util
parentf738eb34b5f729f0e3fb4f9467446f7ddb22861b (diff)
downloadpttbbs-8f3db00034e5e10ef6188e6650f6633391cca751.tar
pttbbs-8f3db00034e5e10ef6188e6650f6633391cca751.tar.gz
pttbbs-8f3db00034e5e10ef6188e6650f6633391cca751.tar.bz2
pttbbs-8f3db00034e5e10ef6188e6650f6633391cca751.tar.lz
pttbbs-8f3db00034e5e10ef6188e6650f6633391cca751.tar.xz
pttbbs-8f3db00034e5e10ef6188e6650f6633391cca751.tar.zst
pttbbs-8f3db00034e5e10ef6188e6650f6633391cca751.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@420 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r--util/indexuser.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/indexuser.c b/util/indexuser.c
index 4991b919..3668269a 100644
--- a/util/indexuser.c
+++ b/util/indexuser.c
@@ -27,9 +27,9 @@ int main()
system("rm -rf "INDEXPATH"/realname");
system("rm -rf "INDEXPATH"/email");
system("rm -rf "INDEXPATH"/ident");
- mkdir(INDEXPATH"/realname",0600);
- mkdir(INDEXPATH"/email",0600);
- mkdir(INDEXPATH"/ident",0600);
+ mkdir(INDEXPATH"/realname",0700);
+ mkdir(INDEXPATH"/email",0700);
+ mkdir(INDEXPATH"/ident",0700);
for(j = 1; j <= MAX_USERS; j++) {
passwd_query(j, &u);
if(!u.userid[0]) continue;