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: chmod suddenly ceased to work on old files - AFTER CYGWIN UPDATE


-----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@byu.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/


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