[Bug 734] New: Temp file rename does not work properly

bugzilla at linuxfromscratch.org bugzilla at linuxfromscratch.org
Sun Dec 28 02:30:34 PST 2003


           Summary: Temp file rename does not work properly
           Product: Automated Linux From Scratch
           Version: 1.2.0
          Platform: PC
               URL: ftp://localhost/pub/nALFS-1.2.0.patch
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P5
         Component: Back End (XML Handlers)
        AssignedTo: alfs-log at linuxfromscratch.org
        ReportedBy: ookaze at ookaze.dyndns.org
         QAContact: alfs-log at linuxfromscratch.org

The rename() in get_url can not work when nALFS is launched on a different
filesystem than the one where the file should be downloaded.
The temp_file_name seems to be created in the current directory, which is not my
"destination" directory, and they are on different filesystems.
Hence, the rename fails.
I've patched the get_url utility for it to add the destination path, but perhaps
it  is not optimal.
The URL is the location of my patch.
If it doesn't break some nALFS rule, it would be good to have an official patch.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.

More information about the alfs-log mailing list