From cf2f172e3ff127a6d0f06869ff515b3440e78952 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Tue, 8 Mar 2011 20:13:29 +0000 Subject: Stop hard-coding default directory mode as 0777. --- pw/pw.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pw/pw.h') diff --git a/pw/pw.h b/pw/pw.h index 7568c22..6e521d1 100644 --- a/pw/pw.h +++ b/pw/pw.h @@ -95,6 +95,7 @@ struct userconf int numgroups; /* (internal) size of default_group array */ }; +#define _DEF_DIRMODE (S_IRWXU | S_IRWXG | S_IRWXO) #define _PATH_PW_CONF "/etc/pw.conf" #define _UC_MAXLINE 1024 #define _UC_MAXSHELLS 32 -- cgit v1.2.3