|
From: | Jonathan Hankins |
Subject: | [Rdiff-backup-bugs] [bug #19896] fs_abilities.py set_symlink_perms raises OSError when creating symlink on cifs volume |
Date: | Fri, 18 May 2007 03:15:30 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 |
URL: <http://savannah.nongnu.org/bugs/?19896> Summary: fs_abilities.py set_symlink_perms raises OSError when creating symlink on cifs volume Project: rdiff-backup Submitted by: jonathanhankins Submitted on: Friday 05/18/2007 at 03:15 Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: symlink() doesn't work on a cifs-mounted Windows share, and there is an unprotected call to symlink() in set_symlink_perms. Attached is a patch that catches the exception and sets symlink_perms to zero. I tested it a bit, but please double-check me :-) _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Friday 05/18/2007 at 03:15 Name: fs_abilities.py.diff Size: 1kB By: jonathanhankins <http://savannah.nongnu.org/bugs/download.php?file_id=12793> _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?19896> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |