LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-23-2006, 03:00 PM   #1
aevangelica
LQ Newbie
 
Registered: Oct 2005
Distribution: openSUSE 10.2
Posts: 20

Rep: Reputation: 0
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
 
Old 03-23-2006, 03:17 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
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
 
Old 03-23-2006, 05:23 PM   #3
aevangelica
LQ Newbie
 
Registered: Oct 2005
Distribution: openSUSE 10.2
Posts: 20

Original Poster
Rep: Reputation: 0
Thanks so much, it worked perfectly!
 
Old 03-23-2006, 06:06 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
Glad it worked
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File and folder permissions not functioning properly. MahsanS Linux - General 1 09-28-2005 12:37 PM
File and folder permissions not functioning properly. MahsanS Linux - Security 1 09-28-2005 12:36 PM
File and folder permissions not functioning properly. MahsanS Linux - Networking 1 09-28-2005 12:36 PM
font and printing trouble; texts arn't renderd properly schatoor Linux - Software 0 06-05-2004 11:45 AM
font not installed properly mw55309 Linux - Newbie 0 08-14-2003 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration