[Box Backup-dev] Access Denied common exception
Chris Wilson
boxbackup-dev@fluffy.co.uk
Tue, 29 Aug 2006 20:13:29 +0100 (BST)
Hi all,
I'd like to add a new common exception type to Box Backup. When file
permissions stop a file or directory from being opened, the Common
OSFileOpenError exception is thrown. In my opinion, this is not detailed
enough to help the user to diagnose the problem.
I applied this patch to Boxi's copy of Box Backup:
svn diff -r 379:383
https://svn.sourceforge.net/svnroot/boxi/trunk/boxi/boxbackup/lib/common
and also a separate patch to do the same thing for opendir() in
bin/bbackupd/BackupClientDirectoryRecord.cpp, but I have not yet split
that patch out from the other changes I've made to my copy of
BackupClientDirectoryRecord.
Are there any objections to doing this? Could it be merged into the trunk?
If so, I'll split out the opendir() changes as well and put everything
into the merge branch for review.
Cheers, Chris.
--
_ ___ __ _
/ __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |