From: srittau Date: Tue, 12 Mar 2002 15:12:11 +0000 (+0000) Subject: From trunk: don't set umask() to 022 at startup. (It's redundant anyways.) X-Git-Tag: netatalk-1-5-3~26 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=commitdiff_plain;h=a659b19be572c9b916f1c5b7dcff437bc9e3368f From trunk: don't set umask() to 022 at startup. (It's redundant anyways.) --- diff --git a/etc/afpd/main.c b/etc/afpd/main.c index 4e314c0f..5056391f 100644 --- a/etc/afpd/main.c +++ b/etc/afpd/main.c @@ -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);