From a659b19be572c9b916f1c5b7dcff437bc9e3368f Mon Sep 17 00:00:00 2001 From: srittau Date: Tue, 12 Mar 2002 15:12:11 +0000 Subject: [PATCH] From trunk: don't set umask() to 022 at startup. (It's redundant anyways.) --- etc/afpd/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.39.2