Adding fonts to Feisty
Nils Kassube
kassube at gmx.net
Sat Jun 16 08:36:11 UTC 2007
Brian Astill wrote:
> On Saturday 16 June 2007 08:59, NoOp wrote:
> > On 06/15/2007 03:25 PM, Ed Smits wrote:
> > Can you see the fonts in Nautilus?
>
> (I'm in trouble, too)
> Yes - as root. Otherwise not.
> Here's the problem:
> bra at dapper2:~$ cd /usr/share/fonts
> bra at dapper2:/usr/share/fonts$ ls -l
> total 12
> -rwxr--r-- 1 root root 37 2007-06-16 12:45 fonts.cache-1
> drwxr--r-- 33 root root 4096 2007-06-11 16:41 truetype
> drwxr--r-- 3 root root 4096 2006-05-31 10:26 type1
That looks odd to me. The file fonts.cache-1 should not be executable for
root and the directories should have the x bit set for both group and
other. On my system (Dapper) it is
-rw-r--r-- 1 root root 37 2007-03-29 13:36 fonts.cache-1
drwxr-xr-x 24 root root 4096 2007-03-23 15:53 truetype/
drwxr-xr-x 3 root root 4096 2006-08-06 02:01 type1/
Maybe there are some other permissions wrong in subdirectories? To fix
them all, you could try this:
sudo find /usr/share/fonts -type d -exec chmod -v 755 {} \;
sudo find /usr/share/fonts -type f -exec chmod -v 644 {} \;
Nils
More information about the ubuntu-users
mailing list