Red Hat Bugzilla – Bug 238267
Strange cp behaviour
Last modified: 2008-01-20 16:01:14 EST
Description of problem:
USB flash drive automounted width kde as /media/BACKUP. The following works
fine invoked from the command line as root:
cp -fvr /disk /media/BACKUP
When invoked as a script, where the above is the only line in the script file:
cp reports each file as being copied, but doesn't actually do it. Files are not
copied, and timestamps of existing files do not change on the destination.
There are two usb flash devices with the same volume name to allow rotation of
backups. Both mount normally, and work fine with cp from the command line.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 153714 [details]
Are you running the script from the same context as you ran the command line?
I.e. instead of 'cp ...' you are running './script'? What about when you run '.
./script' (i.e. ". " in front)?
In NEEDINFO for 8 months with no response and against EOL FC-5 version, closing
INSUFFICIENT_DATA. In the case that you want to reopen it, test it with latest
Fedora release(F8 or RAWHIDE) and provide requested informations.