Patch to Amarok to change file permissions when writing tags

Stefan Asserhall stefan.asserhall at comhem.se
Sun Jul 2 17:00:06 UTC 2006


Hi,

Here is a patch for Amarok SVN to improve tag writing by handling write 
protected files, by temporarily changing the file mode. It also avoids one 
message per file when tags cannot be written.

I used "stat" and "chmod" since I could not find a Qt method to change
file permissions. I hope that it is portable.

If you think the patch is OK, I can commit it to SVN.

/ Stefan Asserhäll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amarok3.diff
Type: text/x-diff
Size: 4966 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/amarok/attachments/20060702/355af6ae/attachment.bin>


More information about the Amarok mailing list