Re: Trueype font problems - RH9
From: Keith Clark (clarkphotography_at_hotmail.com)
Date: 10/13/03
- Next message: K.G.B.: "Multiboot Problem"
- Previous message: Paul Lutus: "Re: Trueype font problems - RH9"
- In reply to: Paul Lutus: "Re: Trueype font problems - RH9"
- Next in thread: Paul Lutus: "Re: Trueype font problems - RH9"
- Reply: Paul Lutus: "Re: Trueype font problems - RH9"
- Reply: Mikko Koivunen: "Re: Trueype font problems - RH9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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...
- Next message: K.G.B.: "Multiboot Problem"
- Previous message: Paul Lutus: "Re: Trueype font problems - RH9"
- In reply to: Paul Lutus: "Re: Trueype font problems - RH9"
- Next in thread: Paul Lutus: "Re: Trueype font problems - RH9"
- Reply: Paul Lutus: "Re: Trueype font problems - RH9"
- Reply: Mikko Koivunen: "Re: Trueype font problems - RH9"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|