LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Properly setting font permissions? (https://www.linuxquestions.org/questions/linux-newbie-8/properly-setting-font-permissions-427772/)

aevangelica 03-23-2006 03:00 PM

Properly setting font permissions?
 
Hello all,

Made a stupid error trying to fix support for fonts.. basically, all my fonts work correctly as root, but weren't working for my main user. I figured it was a permissions error, so I chmod'ed the files in the TTF folder to 444. This got my TTF fonts working. I then went to see if my international fonts (russian, japanese, etc.) would work, but got nothing but number-boxes. Flush with my success from the TTF folder, I simply did

chmod 444 fonts -R

on the main font folder, which means that now, of course, NONE of my fonts work under the user account. Everything works just fine under root, but I'm trying to break the habit of being root all the time (bad habit I picked up fresh from windows).

So my question is - what exactly did I f*ck up, and how do I get my fonts working in my main user account?


Thanks in advance

leonscape 03-23-2006 03:17 PM

Basically the fonts themselves should have read permissions for everyone, and the directories need execute as well ( execute on a directory means enter ). What you've done is remove execute permissions from all the directories so the user can't get access. Root should be given read write access so you can easily add and remove fonts as root.

chmod 755 folders
chmod 644 fontsfiles

aevangelica 03-23-2006 05:23 PM

Thanks so much, it worked perfectly!

leonscape 03-23-2006 06:06 PM

Glad it worked :)


All times are GMT -5. The time now is 11:28 PM.