Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 238267 - Strange cp behaviour
Strange cp behaviour
Product: Fedora
Classification: Fedora
Component: coreutils (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Ondrej Vasik
Depends On:
  Show dependency treegraph
Reported: 2007-04-28 11:49 EDT by Need Real Name
Modified: 2008-01-20 16:01 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-20 16:01:14 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
dmesg (30.97 KB, application/orders)
2007-04-28 11:49 EDT, Need Real Name
no flags Details

  None (edit)
Description Need Real Name 2007-04-28 11:49:43 EDT
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):

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Need Real Name 2007-04-28 11:49:43 EDT
Created attachment 153714 [details]
Comment 2 Tim Waugh 2007-05-17 07:35:04 EDT
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)?
Comment 3 Ondrej Vasik 2008-01-20 16:01:14 EST
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.

Note You need to log in before you can comment on or make changes to this bug.