[Digikam-devel] problem with the kio

Tom Albers tomalbers at kde.nl
Wed Aug 24 22:00:44 BST 2005


Hi, 

when i have a folder which is readonly and trying to move an item to another 
folder, i get (a bit cryptic) warning that that is not possible. 

It enters the routine at line +/- 812 of digikamalbums.cpp from the kio:

        if (( errno == EACCES ) || (errno == EPERM))
        {
            error( KIO::ERR_ACCESS_DENIED, dst.url() );
        }

Which points to the dst.url(), but the problem lies in the src.url(), so the 
warning should say that. How can we change that to prevent users (like me) 
spending four hours tracking down the problem (like me).  I guess it should 
enter the ERR_CANNOT_DELETE, but it doesn't ;-)

Tom
Rookie
-- 
http://www.kde.nl | http://www.digikam.org |irc: toma | toma at jabber.kovoks.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1930 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20050824/3ca7d5c5/attachment.bin>


More information about the Digikam-devel mailing list