From: Jim Meyering Date: Sat, 17 Dec 2005 10:45:54 +0000 (+0000) Subject: (cp_option_init): Don't set umask_kill member. X-Git-Tag: v6.0~1086 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eee9e3d07229e5d6b6821ecf097212c599b321a0;p=thirdparty%2Fcoreutils.git (cp_option_init): Don't set umask_kill member. --- diff --git a/src/mv.c b/src/mv.c index ebd5f1ceeb..92659ede56 100644 --- a/src/mv.c +++ b/src/mv.c @@ -134,12 +134,6 @@ cp_option_init (struct cp_options *x) x->mode = 0; x->stdin_tty = isatty (STDIN_FILENO); - /* Find out the current file creation mask, to knock the right bits - when using chmod. The creation mask is set to be liberal, so - that created directories can be written, even if it would not - have been allowed with the mask this process was started with. */ - x->umask_kill = ~ umask (0); - x->update = false; x->verbose = false; x->dest_info = NULL;