delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/10/00:26:28

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS,WEIRD_PORT
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <ed4892840910092044vf380b0j44922d936030b0d7@mail.gmail.com>
References: <ed4892840910092044vf380b0j44922d936030b0d7 AT mail DOT gmail DOT com>
Date: Sat, 10 Oct 2009 12:26:00 +0800
Message-ID: <ed4892840910092125o3e06ae45ifd818b5847e12d82@mail.gmail.com>
Subject: RE: fc-cache: failed to write cache
From: Steven Woody <narkewoody AT gmail DOT com>
To: cygwin AT cygwin DOT com, cygwin-xfree AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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-200505=
22-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 AT gmail DOT com>
Date: Sat, Oct 10, 2009 at 11:44 AM
Subject: fc-cache: failed to write cache
To: cygwin-xfree AT cygwin DOT com, cygwin-apps AT cygwin DOT 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. =A0I then installed
cygwin 1.7 for them, the result is strange. =A0The laptop seems okay,
but the desktop, after I tried re-install many times, still always
fail when I=A0execute 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
=A0 =A0-- Schopenhauer

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



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

narke
public key at http://subkeys.pgp.net:11371 (narkewoody AT gmail DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019