This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: fc-cache: failed to write cache


After did some explore on my system, I found a very strange thing:
the permissions on directory /etc/postinstall and all scripts
contained in it are no correctly.  Below is a piece of it:

...
-rw-r--r-- 1 woody None     794 2008-10-28 10:31 font-sony-misc.sh.done
-rw-r--r-- 1 woody None     794 2008-10-28 10:32 font-sun-misc.sh.done
-rw-r--r-- 1 woody None     834 2008-10-28 10:33 font-winitzki-cyrillic.sh.done
-rw-r--r-- 1 woody None     804 2008-10-28 10:34 font-xfree86-type1.sh.done
-rw-r--r-- 1 woody None      52 2009-09-25 10:30 fontconfig.sh.done
-rwxr-xr-x 1 woody None     551 2009-02-25 18:15 gcc-g++.sh.done
-rwxr-xr-x 1 woody None     345 2009-02-25 18:15 gcc-g77.sh.done
-rwxr-xr-x 1 woody None     480 2009-02-25 18:15 gcc-gdc.sh.done
-rwxr-xr-x 1 woody None    1204 2009-02-25 18:15 gcc-gnat.sh.done
-rwxr-xr-x 1 woody None     424 2009-02-25 18:15 gcc-gpc.sh.done
-rwxr-xr-x 1 woody None    2061 2009-02-25 18:15 gcc-java.sh.done
-rw-r--r-- 1 woody None 4360880 2005-06-09 08:37 gcc-mingw-ada-3.4.4-20050522-1.
tgz
-rwxr-xr-x 1 woody None     783 2005-06-09 08:37 gcc-mingw-ada.sh.done
,,,

I compared to another normally run computer, the scripts in the
directory should all be rwxr-xr-x for the file owner.

then I tried to rename fontconfig.conf.done to fontconffig.conf and
change permission for it, but I *can not*, the 'chmod' command takes
no effect on the file.

What's wrong with my installation?  I was using offline installation,
and should be no corruption.

Thanks in advance.



---------- Forwarded message ----------
From: Steven Woody <narkewoody@gmail.com>
Date: Sat, Oct 10, 2009 at 11:44 AM
Subject: fc-cache: failed to write cache
To: cygwin-xfree@cygwin.com, cygwin-apps@cygwin.com


Hi,

I removed cygwin1.5 on both of my two computers, one is a laptop and
another is a desktop, they are all Windows XP. ?I then installed
cygwin 1.7 for them, the result is strange. ?The laptop seems okay,
but the desktop, after I tried re-install many times, still always
fail when I?execute fa-cache on it, the error messages are:

...
/cygdrive/c/Windows/Fonts: caching, new cache contents: 598 fonts, 0 dirs
/cygdrive/c/Windows/Fonts: caching: failed to write cache
... (repeat for other font directories)
...

But If I install cygwin1.5 on the desktop, it is always okay with fc-cache.

What's wrong with it?

--
Life is the only flaw in an otherwise perfect nonexistence
? ?-- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewoody@gmail.com)



-- 
Life is the only flaw in an otherwise perfect nonexistence
    -- Schopenhauer

narke
public key at http://subkeys.pgp.net:11371 (narkewoody@gmail.com)

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]