]> arthur.barton.de Git - netatalk.git/commitdiff
From trunk: don't set umask() to 022 at startup. (It's redundant anyways.)
authorsrittau <srittau>
Tue, 12 Mar 2002 15:12:11 +0000 (15:12 +0000)
committersrittau <srittau>
Tue, 12 Mar 2002 15:12:11 +0000 (15:12 +0000)
etc/afpd/main.c

index 4e314c0f473e0e725006ae7aacb3625bbb5dee9d..5056391fa2dbb655a7e77c1ed80c3fad3c712903 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: main.c,v 1.12.2.2 2002-01-02 17:27:50 srittau Exp $
+ * $Id: main.c,v 1.12.2.3 2002-03-12 15:12:11 srittau Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
@@ -159,8 +159,6 @@ char        **av;
     set_auth_parameters( ac, av );
 #endif /* TRU64 */
 
-    umask( 022 );      /* so inherited file permissions work right */
-
     afp_options_init(&default_options);
     if (!afp_options_parse(ac, av, &default_options))
         exit(1);