[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #3868] Fix for temp files when /tmp and /home are not on the same
From: |
anonymous |
Subject: |
[patch #3868] Fix for temp files when /tmp and /home are not on the same partition |
Date: |
Mon, 28 Mar 2005 12:02:02 +0000 |
User-agent: |
Mozilla/5.0 Galeon/1.2.0 (X11; Linux i686; U) |
URL:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=3868>
Summary: Fix for temp files when /tmp and /home are not on
the same partition
Project: Web Secretary
Submitted by: None
Submitted on: Mon 03/28/2005 at 07:02
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email: address@hidden
Open/Closed: Open
_______________________________________________________
Details:
Hi
With my patch to
http://savannah.nongnu.org/bugs/index.php?func=detailitem&item_id=11474 I
introduced a bug which was triggered when I moved my /home to a separate
partition.
Websec uses the perl function rename() to move files to the archive, but
rename fails if the source and destination are not on the same partition.
Therefor it's better to use move() from the package File::Copy (comes in
perl-modules in Debian Woody, at least since perl v5.6.1).
Patch attached.
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
hodaniel --AT-- student --DOT-- ethz --DOT-- ch | Originator Email
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 03/28/2005 at 07:02 Name: websec_1.8_rename_move.diff Size:
1.92KB By: None
<http://savannah.nongnu.org/patch/download.php?item_id=3868&item_file_id=4406>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=3868>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch #3868] Fix for temp files when /tmp and /home are not on the same partition,
anonymous <=