bugrdiff-backup - Bugs: bug #20690, Symbolic link to a directory as...

 
 

bug #20690: Symbolic link to a directory as the target cann't be used

Submitted by:  gw <gw_>
Submitted on:  Sat 04 Aug 2007 11:37:04 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 26 May 2013 03:33:55 PM UTC, comment #2:

This was fixed a while back.

Please reopen if you can duplicate it with current versions.

Kevin Fenzi <nirik>
Project Member
Mon 13 Aug 2007 08:38:05 PM UTC, comment #1:

Fixing this will also resolve Debian bug #206252.

Andrew Ferguson <owsla>
Project Administrator
Sat 04 Aug 2007 11:37:04 PM UTC, original submission:

If you try to backup something to a target that is a symbolic link to a empty (or not) directory, you get the error:
Fatal Error: Destination <target symlink> exists and is not a directory
This happens in both cases: if you append a trailing "/" (usually for referring to the contents of where it points to) to the symbolic link or not. This behavior is partially correct and it also prevents from some sorts of hacks (if the attacker has control of the symlink and rdiff-backup is run automatically by root), but it is not always wanted and useful.

Therefore I would recommend the addition of a parameter that would enable the follow of symbolic link to directory if it is passed as the target. Another solution would be to distinguish between added "/" or without it (in first case following the symlink in other not).

(rdiff-backup 1.1.12)

gw <gw_>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nirik (Posted a comment)
  • -unavailable- added by alex2
  • -unavailable- added by owsla (Posted a comment)
  • -unavailable- added by gw_ (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 26 May 2013 03:33:55 PM UTCnirikStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 20 Mar 2009 10:20:10 PM UTCalex2Carbon-Copy-=>Added alex2

    Back to the top


    Powered by Savane 3.1-cleanup1