Bug 13310 - Fonts installed with wrong permissions.
Summary: Fonts installed with wrong permissions.
Status: RESOLVED DUPLICATE of bug 10501
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-03 04:05 CEST by w unruh
Modified: 2014-07-20 11:16 CEST (History)
0 users

See Also:
Source RPM: drakxtools-15.54.1-3.mga3
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.