Date: Tue, 16 Jul 1996 11:08:44 +0200 From: "Georg-W. Koltermann" <gwk@anaconda.dkrz.de> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/1391: cpio -O ignores umask Message-ID: <199607160908.LAA06475@anaconda.dkrz.de> Resent-Message-ID: <199607160920.CAA28895@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1391 >Category: bin >Synopsis: cpio -O ignores umask >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 16 02:20:01 PDT 1996 >Last-Modified: >Originator: Georg-W. Koltermann >Organization: n. a. >Release: FreeBSD 2.1.0-RELEASE i386 >Environment: FreeBSD 2.1.0-RELEASE >Description: cpio -O ignores the current umask when creating output files. The output file is being created with mode 0666. >How-To-Repeat: anaconda[549]$ umask 027 anaconda[550]$ ls -l anaconda[551]$ touch abc anaconda[552]$ ls -l total 0 -rw-r----- 1 gwk cray 0 Jul 16 11:02 abc anaconda[553]$ echo abc | cpio -o -O bad.cpo 1 block anaconda[554]$ ls -l total 4 -rw-r----- 1 gwk cray 0 Jul 16 11:02 abc -rw-rw-rw- 1 gwk cray 512 Jul 16 11:02 bad.cpo >Fix: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607160908.LAA06475>