diff options
author | Glenn L McGrath | 2001-07-29 06:04:26 +0000 |
---|---|---|
committer | Glenn L McGrath | 2001-07-29 06:04:26 +0000 |
commit | b6071b6341f200ef1aed4e3e827f3c300b27ebf5 (patch) | |
tree | 989c51f09d4d05fe102e5053051989e06406e661 /coreutils | |
parent | eba260587ad880535f8beee9402e05a11735c7a5 (diff) | |
download | busybox-b6071b6341f200ef1aed4e3e827f3c300b27ebf5.zip busybox-b6071b6341f200ef1aed4e3e827f3c300b27ebf5.tar.gz |
Fix permisions when reading from stdin
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/uuencode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c index 1789aef..fc03740 100644 --- a/coreutils/uuencode.c +++ b/coreutils/uuencode.c @@ -117,7 +117,7 @@ int uuencode_main(int argc, char **argv) } break; case 1: - mode = umask(0666); + mode = 0666 & ~umask(0666); break; default: show_usage(); |