Open the source before creating the destination.
This commit is contained in:
4
testsuite/cp/cp-does-not-copy-unreadable-file
Normal file
4
testsuite/cp/cp-does-not-copy-unreadable-file
Normal file
@@ -0,0 +1,4 @@
|
||||
touch foo
|
||||
chmod a-r foo
|
||||
busybox cp foo bar
|
||||
test ! -f bar
|
Reference in New Issue
Block a user