Open the source before creating the destination.

This commit is contained in:
Matt Kraai
2001-12-11 16:43:48 +00:00
parent 741f40b58e
commit 14b7c5d12b
2 changed files with 15 additions and 8 deletions

View File

@@ -0,0 +1,4 @@
touch foo
chmod a-r foo
busybox cp foo bar
test ! -f bar