delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/05/08:26:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <42CA7C64.3080908@byu.net>
Date: Tue, 05 Jul 2005 06:26:12 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: FischRon DOT external AT infineon DOT com
CC: cygwin AT cygwin DOT com
Subject: Re: chmod suddenly ceased to work on old files - AFTER CYGWIN UPDATE
References: <25F7D2213F14794A8767B88203EA2BC9240C7A AT mucse201 DOT eu DOT infineon DOT com>
In-Reply-To: <25F7D2213F14794A8767B88203EA2BC9240C7A@mucse201.eu.infineon.com>
X-IsSubscribed: yes

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to FischRon.external AT infineon DOT com on 7/4/2005 6:19 AM:
>>And who knows, doing the update may even resolve your issue 
>>with chmod
> 
> Unfortunately, it doesn't. chmod behaves still as before  :-(
> 
> I have enclosed an updated cygcheck log. Because of the upgrade, I now
> also
> have the 'stat' command, so here is the output of stat. Note that x is a
> file where chmod does not work, while y is a "good" file:
> 
> $ stat x y
>   File: `x'
>   Size: 4               Blocks: 1          IO Block: 1024   regular file
> Device: f7h/247d        Inode: 17462571716233526985  Links: 1
> Access: (0700/-rwx------)  Uid: (56297/fischron)   Gid:
> (10513/mkgroup_l_d)
> Access: 2005-06-30 09:09:02.315724000 +0200
> Modify: 2004-01-19 07:37:44.274608000 +0100
> Change: 2005-07-01 21:34:10.959402000 +0200
>   File: `y'
>   Size: 4               Blocks: 1          IO Block: 1024   regular file
> Device: f7h/247d        Inode: 17462571716233526986  Links: 1
> Access: (0600/-rw-------)  Uid: (56297/fischron)   Gid:
> (10513/mkgroup_l_d)
> Access: 2005-06-28 09:07:20.109582000 +0200
> Modify: 2005-07-04 14:17:51.193425000 +0200
> Change: 2005-07-04 14:17:57.559365000 +0200

stat unfortunately does not show ACLs; running `getfacl x y' might provide
better information here.

> C:\cygwin\bin\id.exe output (ntsec)
> UID: 56297(fischron)  GID: 10513(mkgroup_l_d)
> 544(Administrators)   545(Users)
> 10513(mkgroup_l_d)

Your group files are still out of date.  Running "mkgroup -l -d >
/etc/group" and "mkpasswd -l -d > /etc/passwd" will help here, and may be
part of your problem.


>   948k 2003/03/18 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=2003/3/18 15:20
>     Cygwin DLL version info:
>         DLL version: 1.3.22

Did setup.exe ask you to reboot your machine, and did you ignore it?  You
are still running 1.3.22, so the update process hasn't completed yet
(windows can't update a file that is currently in use without a reboot.
The alternative is to ensure that all cygwin processes, including
services, are stopped before you upgrade).

>   948k 2003/03/18 c:\Program Files\OpenSSH\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                   "cygwin1.dll" v0.0 ts=2003/3/18 15:20

Are you sure this is the updated cygcheck.out - you've got cygwin listed
twice, with a copy still in OpenSSH.

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCynxk84KuGfSFAYARApZlAKCoW78oM4gRJNX5hn6XAyj46poriACfVE40
5YFb9wmLFnEdhGv1itKICUY=
=o5Qe
-----END PGP SIGNATURE-----

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

- Raw text -


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