[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#421991: kcontrol: sets wrong permissions when installing new fonts system-wide



On Fri, May 04, 2007 at 12:15:38AM +0200, Sune Vuorela wrote:
> On Thursday 03 May 2007, Florian Laws wrote:
> > On Wed, May 02, 2007 at 11:10:26PM +0200, Sune Vuorela wrote:
> > > I cannot reproduce this. I get fonts with permission 644 when I follow
> > > the above steps.
> > > What kind of umask settings do you have for your user?
> > > For root?
> >
> > My umask is 0022 for both my user and root.
> 
> What is your initial permissions on the fonts you are trying to install?
> 
> It seems that on my system (with 0022 umask) 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

Indeed, the fonts I'm trying to install had permissions 600.
If I install fonts with permissions 644, the resulting permissions
are also 644.

So the problem got introduced by the permissions on the original fonts.
Still, one might wish that the font installation process fixes the 
permissions, but this is probably debatable.

Thanks,

Florian



Reply to: