Re: Trueype font problems - RH9

From: Keith Clark (clarkphotography_at_hotmail.com)
Date: 10/13/03


Date: Mon, 13 Oct 2003 02:56:42 GMT

On Sun, 12 Oct 2003 19:46:27 -0700, Paul Lutus wrote:

> Keith Clark wrote:
>
> < snip >
>
>> I'm curious why out of all the Red Hat pages and other stuff I looked
>> at, that was never mentioned.
>
> It's too esoteric for end users and too basic for administrators. It
> fell through the cracks. :)
>
>> I checked the permissions on the default font directories, and they're
>> all root:root ownership, set to "755". The 755 permissions means that
>> the directory is "universally readable" yes?
>
> Yes. Works like this:
>
> binary "4" place = read
> binary "2" place = write
> binary "1" place = execute
>
> 4 + 1 = 5, so 5 means read and execute, no write. 7 means 4 + 2 + 1,
> read, write, execute. There are three such groups of bits, one for
> owner, one for group, one for all others.
>
> The number are in the order of owner, group, and others. So "755" means
> all permissions for owner, read and execute only for group and others.
>
>> How do
>> the standard fonts work for all users?
>
> They only have to be readable by all, and they are.
>
>> I don;t mean to bug you, it's nut that now I'm really curious. If there
>> a web page that explains it, feel free to just post a URL...
>
> This is really a basic file permissions and access issue, it's not
> limited to fonts.
>
> Google "linux file permissions"

Right - I understand all of that.

So since the fonts directory was world-readble *before*, why didn't it
work until I changed the *ownership* to my user account?

I never changed permissions, only ownership, and now the fonts work.

When I ran fc-cache as a user it complained about needing *write* access
to fonts directories.

RedHat says I should have made a "/home/<user>/.fonts/" directory and that
would have been a lot easier but I wanted to figure out how to install
fonts for all users in case I ever had to do that...



Relevant Pages

  • Re: Trueype font problems - RH9
    ... >> I checked the permissions on the default font directories, ... > all permissions for owner, read and execute only for group and others. ... > limited to fonts. ... I never changed permissions, only ownership, and now the fonts work. ...
    (alt.os.linux.redhat)
  • Re: Cannot delete fonts to reinstall
    ... The CACLS command also works with XP Pro, you can use it to check permissions. ... How to disable simplified sharing and set permissions on a shared folder in Windows XP ... I assume I have proper NTFS permissions for the Fonts folder and the font files, but you better tell me how to check the permissions and what they should be. ...
    (microsoft.public.windowsxp.general)
  • Re: Word keeps crashing! Any suggestions, please??!?!?!?
    ... Corrupted fonts. ... permissions, or because the user has moved Office or parts of it off the ... Thatıs where the Normal Template is: ... If the Normal template or Startup folder had been moved, ...
    (microsoft.public.mac.office.word)
  • Re: What should be the permissions on a font?
    ... and would like to know what the permissions, owner, group, and others should be set to. ... These fonts will be accessed by six different accounts, ... Wheel is a root related group associated with system operations. ... Apple keeps changing their permissions phylosophies from release to release so nobody's installation matches anyone elses it would seem. ...
    (comp.sys.mac.system)
  • Re: Mozilla/Mozilla Firefox problems on Sid RESOLVED
    ... > strace and, sure enough, right after a font permission problem is when the ... I had copied over some fonts from a Windows install, ... > permissions to the correct mode made the browser run pretty much normally. ... After removing all the .fon files ...
    (Debian-User)