Defrag/Cygwin weirdness - Permission denied on mv

puffy

Member
Vista/x64 SP2 up-to-date w/ Cygwin 1.5.25 (yeah super old). This's been bugging me for a bit first time I've ever seen it. I did a defrag (defrag -v -w -f <drive>) while running my daily backup script (Cygwin) and got a Permission denied when doing mv where (I assume doesn't make sense otherwise) one of the files was currently being defragmented.

mv $d:\\.locate\\files-new.txt $d:\\.locate\\files.txt -> EPERM/EACCESS

files-new.txt = just created
files.txt = old, exists

I always thought defrag was low-level and transparent and shouldn't interfere with any operation hence you can run it on live filesystems. That error boggles me :/ Cygwin likes sparse files maybe has something todo with it. Any guru can shed some light? Thanks.

BTW the backup script is 3-4 years old never had problems with it but I've never used it with defrag running at the same time.
 

My Computer

Hello Puffy I will direct this to a member who can help you so please hang on.

Tom
 

My Computer

System One

  • Manufacturer/Model
    a6530f Desktop
    CPU
    HP-PAVILION
    Motherboard
    M2N68-LA (Narra3)
    Memory
    8 Gigs of Ram/DDR2 PC2-6400 MB/sec
    Graphics Card(s)
    NVIDIA GeForce 6150SE nForce 430
    Sound Card
    Intergrated Realtex ALC888S Audio
    Monitor(s) Displays
    LG W40 series widescreen
    Screen Resolution
    1600 X 900
    Hard Drives
    1 640 GB Sata transfer rating: 3.0 Gb/sec speed: 7200 RPM
    PSU
    300W
    Case
    Mid-Size ATX
    Keyboard
    HP Multimedia Keyboard
    Mouse
    Microsoft Wireless Mouse 5000
    Other Info
    Processor: AMD Phenom X3 8450 Operating speed: Up to 2.1 GHz, Number of cores: 3, Socket: AM2+, Bus speed: 3600 MHz HT3 (clocked down to 2000 MHz)

    Modem: 56K WinModem/

    Supermulti: 16X DVD(+/-)R/RW 12X Ram (+/-)R DL Lightscribe SATA Drive

    Menory Card Reader: 15-in-1 Multimedia Card Reader

    Media Drive
Back
Top