Busybox seems to be happy to overwrite a readonly file using cp. A small 
example:

echo foo > source_file
touch dest_file
chmod -w dest_file
cp source_file dest_file

I would expect the last line to fail, as indeed it does on Ubuntu and MacOS. 
Instead dest_file is overwritten, and is now read/write.

Regard

Art

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to