Thread View: comp.bugs.sys5
3 messages
3 total messages
Started by Adri Verhoef
Thu, 30 Jun 1988 10:32
cpio -itv < problems
Author: Adri Verhoef
Date: Thu, 30 Jun 1988 10:32
Date: Thu, 30 Jun 1988 10:32
25 lines
1069 bytes
1069 bytes
Bug: `cpio' does not work when it can't open one of it's parent directories. Repeat-by: $ id uid=104(ccea3) gid=101(cce) $ cd /tmp $ mkdir tst1; cd tst1 $ mkdir tst2; cd tst2 $ chgrp bin .. $ chown bin .. $ pwd /tmp/tst1/tst2 $ touch bugs.cpio $ cpio -itv < bugs.cpio sh: pwd: cannot open .. $ ls -ld . .. drwxr-x--- 2 ccea3 cce 32 May 31 22:04 . drwxr-x--- 3 bin bin 48 May 31 22:04 .. `cpio' should only display the contents of the file "bugs.cpio", but it can't open one of its parent directories and the file's contents will not be displayed. Has this been fixed in any release? (On System V.3.1 it still isn't.) Adri verhoef, mcvax!rivm!a3
Re: cpio -itv < problems
Author: Will Nelson
Date: Wed, 13 Jul 1988 22:52
Date: Wed, 13 Jul 1988 22:52
34 lines
1642 bytes
1642 bytes
In article <913@rivm05.UUCP>, ccea3@rivm.UUCP (Adri Verhoef) writes:
> Bug: `cpio' does not work when it can't open one of it's parent directories.
> Repeat-by:
> $ id
> uid=104(ccea3) gid=101(cce)
> $ cd /tmp
> $ mkdir tst1; cd tst1
> $ mkdir tst2; cd tst2
> $ chgrp bin ..
> $ chown bin ..
> $ pwd
> /tmp/tst1/tst2
> $ touch bugs.cpio
> $ cpio -itv < bugs.cpio
> sh: pwd: cannot open ..
> $ ls -ld . ..
> drwxr-x--- 2 ccea3 cce 32 May 31 22:04 .
> drwxr-x--- 3 bin bin 48 May 31 22:04 ..
>
> `cpio' should only display the contents of the file "bugs.cpio",
> but it can't open one of its parent directories
> and the file's contents will not be displayed.
> Has this been fixed in any release? (On System V.3.1 it still isn't.)
>
> Adri verhoef,
> mcvax!rivm!a3
See the Summary.
--
Will Nelson uucp: {decvax!decwrl}!pyramid!oliveb!cygnet!will
Cygnet Systems, Inc.
601 West California Avenue
Sunnyvale, CA 94086-4831 (408) 773-0770
Re: cpio -itv < problems
Author: Will Nelson
Date: Thu, 14 Jul 1988 03:34
Date: Thu, 14 Jul 1988 03:34
34 lines
1667 bytes
1667 bytes
In article <913@rivm05.UUCP>, ccea3@rivm.UUCP (Adri Verhoef) writes:
> Bug: `cpio' does not work when it can't open one of it's parent directories.
> Repeat-by:
> $ id
> uid=104(ccea3) gid=101(cce)
> $ cd /tmp
> $ mkdir tst1; cd tst1
> $ mkdir tst2; cd tst2
> $ chgrp bin ..
> $ chown bin ..
> $ pwd
> /tmp/tst1/tst2
> $ touch bugs.cpio
> $ cpio -itv < bugs.cpio
> sh: pwd: cannot open ..
> $ ls -ld . ..
> drwxr-x--- 2 ccea3 cce 32 May 31 22:04 .
> drwxr-x--- 3 bin bin 48 May 31 22:04 ..
>
> `cpio' should only display the contents of the file "bugs.cpio",
> but it can't open one of its parent directories
> and the file's contents will not be displayed.
> Has this been fixed in any release? (On System V.3.1 it still isn't.)
>
> Adri verhoef,
> mcvax!rivm!a3
See the Summary.
--
Will Nelson uucp: {decvax!decwrl}!pyramid!oliveb!cygnet!will
Cygnet Systems, Inc.
601 West California Avenue
Sunnyvale, CA 94086-4831 (408) 773-0770
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads