summaryrefslogtreecommitdiff
path: root/src/mv.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-12-17 10:45:54 +0000
committerJim Meyering <jim@meyering.net>2005-12-17 10:45:54 +0000
commiteee9e3d07229e5d6b6821ecf097212c599b321a0 (patch)
tree6c215497c22d974e5e7bf882ffc06c38c9bf7db2 /src/mv.c
parent406a9d36363f979ef8d06b6b9629509d63b605e7 (diff)
downloadcoreutils-eee9e3d07229e5d6b6821ecf097212c599b321a0.tar.xz
(cp_option_init): Don't set umask_kill member.
Diffstat (limited to 'src/mv.c')
-rw-r--r--src/mv.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mv.c b/src/mv.c
index ebd5f1cee..92659ede5 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;