]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(cp_option_init): Don't set umask_kill member.
authorJim Meyering <jim@meyering.net>
Sat, 17 Dec 2005 10:45:54 +0000 (10:45 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 17 Dec 2005 10:45:54 +0000 (10:45 +0000)
src/mv.c

index ebd5f1ceeb4459b370347fcb8a6a4b1ea92e833e..92659ede568a97ff27cfd1cb185b6096226b0eb1 100644 (file)
--- 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;