Tiny Core Base > TCB Talk
bug: TinyCore, TinyCorePure64 v8.0, busybox 1.25.1 cp will not overwrite files
cowboyenvy:
OS: Tiny Core 8.0, TinyCorePure64 8.0
arch: x86 , x86_64
busybox: 1.25.1
error: cp will not overwrite a file
frugal install
usb boot
aterm:
bash:
busybox ash:
hardware:
acer aspire one aod255
dell latitude d531
cp -f test1 test2
cp -u test1 test2
cp test1 test2
cp -f test1 test2 ; cat test2
produces a prompt to overwrite?
I do not know if this is a specific issue to TinyCore 8.0, have not tested other platforms.
I am unaware of a currently tracked issue on this matter either after a perfunctory google search.
cowboyenvy:
just installed coreutils.tcz (GNU coreutils) 8.25
cp still executes busybox 1.25.1
/tmp/tcloop/coreutils/user/local/bin/cp still will not overwrite?
Please verify if you can reproduce?
Rich:
Hi cowboyenvy
That behavior is probably being caused by the alias definitions in the ~/.ashrc file.
cowboyenvy:
--- Quote from: Rich on June 04, 2017, 06:20:10 AM ---Hi cowboyenvy
That behavior is probably being caused by the alias definitions in the ~/.ashrc file.
--- End quote ---
the failure to overwrite or not using the coreutils cp command?
I remove the alias, replaced /bin/cp with /tmp/tcloop/coreutils/usr/local/bin/cp
started a new ash shell, bash shell
cp is not gnu coreutils however I'm still not able to overwrite files with cp
Juanito:
If you use the busybox version of a command (cp, tar, wget) prior to loading the full fat extension, the busybox command will still be used after loading the extension.
You can get out of this by using "set +h" (in bash at least) or the full path to the command.
Navigation
[0] Message Index
[#] Next page
Go to full version