Version: (using KDE KDE 3.5.6) Installed from: Debian testing/unstable Packages Hi! When I install a font system wide, I get the font installed with exactly the same permissions as the original file (minus write permissions). e.g. I get 755 if original permissions is 755, 775 or 777. 700 if original permissions is 700 (and probably also 722 and 720) 600 if original permissions is 600 (and probably also 620 and 622) 545 if original permissions is 567 This is a problem if the original file has 600, for example. The font is then only usable by root when installed system wide. It looks like http://bugs.kde.org/show_bug.cgi?id=52678 This bug is originally reported in debian as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=421991 /Sune
I do set the permissions to 0644 - via chmod. Guess I also need to set umask as well, I wasnt aware that this would be needed if I used the c umask() function. I'll look into this.
SVN commit 737575 by craig: Set umask to 0 before calling chmod. CCBUG:145249 M +2 -2 kio/Helper.cpp M +3 -3 kio/KioFonts.cpp M +10 -0 lib/Misc.cpp M +6 -2 lib/Misc.h WebSVN link: http://websvn.kde.org/?view=rev&revision=737575