[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-cpio] cpio doesn't follow umask
From: |
David Cifer |
Subject: |
[Bug-cpio] cpio doesn't follow umask |
Date: |
Fri, 17 Mar 2006 15:04:04 +0100 |
User-agent: |
Thunderbird 1.5 (X11/20051201) |
Hello!
In bash, when I'm running the following command:
find . -name "*.hh"| cpio -pmd ../bashhh/bug
all my directories are generated, with drwx------ rigths, instead of:
drwxr-wr-w.
My umask is set to 0022
If I use:
find . | cpio -pmd ../bash/bug
bash and bug directories are created with drwx------ rights, but
subdirectories are OK!
The -print find option, doesn't modify this behavior.
In tcsh I receive the same result.
I think this is the duplication of:
http://lists.gnu.org/archive/html/bug-cpio/2006-03/msg00004.html,
but the extra is the find -name behavior.
David
GNU find version 4.1.7
GNU cpio version 2.5
GNU bash, version 2.05b.0(1)-release (i586-suse-linux)
Copyright (C) 2002 Free Software Foundation, Inc.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-cpio] cpio doesn't follow umask,
David Cifer <=