LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


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

Rep: Reputation: 0
Issues with users and fonts


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:52 PM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
My guess is that you chmodded all subdirectories 444 (or at least the top ones). If so you wouldn't be able to enter those directories.
If you chmod recursively, you should probably skip applying the chmod to directories themselves.
 
Old 03-23-2006, 04:36 PM   #3
nevelis
Member
 
Registered: Feb 2005
Distribution: Ubuntu, Debian
Posts: 56

Rep: Reputation: 15
Yes, I believe mikshaw is right.

If you want to ADD read permissions without changing write or execute permissions (execute is required to change into a directory), I suggest you go like this:

Code:
chmod -R a+r *
Here's some examples:

a = All users
u = Owner (User)
g = Group
o = Other
r = Read
w = Write
x = Execute

You can combine them, like this:

Code:
to give users and groups read/write permissions to this directory and all files & subdirectories:
chmod -R ug+rw ./

to deny all other people execute permissions:
chmod o-x *

Hope this helps

Cheers,
Aaron
 
  


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
LLarge fonts for partially sighted users tribalmasters LinuxQuestions.org Member Success Stories 3 08-18-2005 09:09 AM
users can't access my fonts dvm Slackware 7 05-06-2005 02:50 PM
WINE fonts garbled in different users k41184 Linux - Software 1 07-05-2004 08:21 PM
Mandrake 10 - Issues with display of fonts after install. pack_tor Linux - Newbie 0 06-16-2004 10:47 AM
Fonts/Display issues ZamIam Linux - Newbie 2 03-01-2003 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:06 AM.

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
Open Source Consulting | Domain Registration