| delorie.com/archives/browse.cgi | search |
| 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: | <42C14BEF.1030501@byu.net> |
| Date: | Tue, 28 Jun 2005 07:09:03 -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 - NEW FINDINGS |
| References: | <25F7D2213F14794A8767B88203EA2BC9240C54 AT mucse201 DOT eu DOT infineon DOT com> |
| In-Reply-To: | <25F7D2213F14794A8767B88203EA2BC9240C54@mucse201.eu.infineon.com> |
| X-IsSubscribed: | yes |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ugh, top-posting. Reformatted.
>>-----Original Message-----
>>From: Eric Blake [mailto:ebb9 AT byu DOT net]
^
http://cygwin.com/acronyms#PCYMTNQREAIYR
>>My quick guess is that ACLs are at work. Compare the output
>>of "getfacl
>>old new". Actually posting the output of "ls -l", "stat", or
>>"getfacl"
>>might be helpful here, so that others can look at the
>>permissions as well.
>>
According to FischRon.external AT infineon DOT com on 6/28/2005 6:50 AM:
> Thank you for your suggestions. Below you see the result for
> file x (this is a file which does not work) and file y (which is a file
> where chmod works):
>
> $ getfacl -a x y
> # file: x
> # owner: fischron
> # group: mkgroup_l_d
> user::rwx
> group::---
> group:Administrators:rwx
> mask:rwx
> other:---
>
> # file: y
> # owner: fischron
> # group: mkgroup_l_d
> user::rwx
> group::---
> mask:rwx
> other:---
>
> $ ls -l x y
> -rwx------+ 1 fischron mkgroup_ 4 Jan 19 2004 x
> -rwx------ 1 fischron mkgroup_ 0 Jun 28 09:07 y
Aha - just as I suspected - ACLs at work (the file x is accessible to the
administrators group, while the file y is not). Further information would
be useful, such as the attached output of 'cygcheck -svr'; see
cygwin.com/problems.html. And that mkgroup_ as the group name is fishy;
your /etc/group file is probably out-of-date, so see the output of
'mkgroup --help' to remedy that.
>
> I don't know about the 'stat' command you are refering to.
It is part of coreutils-5.3.0-6. Have you upgraded your installation in a
while?
- --
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
iD8DBQFCwUvv84KuGfSFAYARAgDFAKC69xg/Fmz/ca7hL0LJC0uE3PMkgwCghpem
7bFH9pODMS9osmqCU4CDMvk=
=Wg7n
-----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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |