patchWeb Secretary - Patches: patch #3868, Fix for temp files when /tmp and...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #3868: Fix for temp files when /tmp and /home are not on the same partition

Submitter:  None
Submitted:  Mon 28 Mar 2005 12:02:01 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  baruch Originator Email:  -email is unavailable-
Open/Closed:  Closed

Fri 20 Jan 2006 05:56:31 PM UTC, comment #1: 

Patch incorporated and will appear in 1.9.0

Baruch Even <baruch>
Group administrator
Mon 28 Mar 2005 12:02:01 PM UTC, original submission:  

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.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #8630:  websec_1.8_rename_move.diff added by None (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 4 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-01-20 baruch Assigned toNone baruch
    Open/ClosedOpen Closed
2005-03-28 None Attached File- Added websec_1.8_rename_move.diff, #4406
    Carbon-Copy- Added hodaniel --AT-- student --DOT-- ethz --DOT-- ch

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code