Bug in module file::copy ???

From: vincent (toto_at_nospam.com)
Date: 02/25/04


Date: Wed, 25 Feb 2004 12:01:05 +0100

Hi,

I've got a problem when i copy a file from a directory to another:
sometimes, the files in the destination folder is tronquated, sometimes the
size is nul, sometimes it's ok....
I use the module file::copy

use File::Copy;
....
copy ($rep_tftp.$fichier,$rep_recent.$fichier);

This problem is appeared on my new server in redhat linux enterprise 2.1AS.
I use perl-5.6.1-26.72.4
I haven't problem of disk spaces and no problems in rights permissions (i
execute the script in root)

Thanks for your help!
Vincent



Relevant Pages

  • RE: Lexar JumpDrive mount problem
    ... report that Alexandre Ganso published and Jason Cortezzo came up ... It clearly is mounting as the current user vs. root as ... perhaps it can be adapted to the usb-storage script to work around ... necessary even though it is needed to get the usb-storage script to execute ...
    (Fedora)
  • Re: Help a sudo newbie
    ... execute one shell script /example/script.sh. ... What kind of sudo configuration can I have to let that joeblow execute ... can execute that you have to run it as root or a reasonable facsimile. ...
    (comp.os.linux.misc)
  • Re: tracking down unidentified users
    ... >> logging in as root? ... There can be logic added to that script to execute specific ... This is the root-only login script. ...
    (comp.security.unix)
  • Re: logging as root using python script
    ... What I need is when I execute a script it should login as root and execute my command and logout from root to my existing account. ...
    (comp.lang.python)
  • Re: [SLE] question about file permissions
    ... >> The shell script is owned by root, ... >> I thought the above permissions would cause the ... > AIUI the SUID flag sets the file to execute under ...
    (SuSE)