Bug 13310

Summary: Fonts installed with wrong permissions.
Product: Mageia Reporter: w unruh <unruh>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Normal    
Version: 3   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: drakxtools-15.54.1-3.mga3 CVE:
Status comment:

Description w unruh 2014-05-03 04:05:45 CEST
Description of problem:
Using MCC->System->Fonts, I did a "install Windows fonts. The directory
/usr/share/fonts/drakfonts and all subdirectories were created with 
drwxr-x--- permission which of course meant none could use the fonts except root.
all of the fonts had permisisns rw-r-----.
After some experiment, it turned out that drakfont was using the umask of the user who started mcc. If I started mcc as user with mask 007 I got the above If I started as root with umask 0777 none of the files or directories had any permissions. If with 077 then it was just the owner root that had any permissions. If 0000 then directories had drwxr-xr-x while files were rw-r--r--which is the way it should be. Ie, drakfont should NOT be using umask on the font files it creates. It should separately after installation do something like

chmod -R a+rX,u+w /usr/share/fonts/drakfonts.



Version-Release number of selected component (if applicable):
Mageia 3, drakxtools-15.54.1-3.mga3


How reproducible: Always



Steps to Reproduce:See above



Reproducible: 

Steps to Reproduce:
Comment 1 Manuel Hiebel 2014-07-20 11:16:12 CEST
looks an duplicate

*** This bug has been marked as a duplicate of bug 10501 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE