Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <42C141B8.4000604@byu.net>
Date: Tue, 28 Jun 2005 06:25:28 -0600
From: Eric Blake <ebb9@byu.net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
MIME-Version: 1.0
To: FischRon.external@infineon.com
CC: cygwin@cygwin.com
Subject: Re: chmod suddenly ceased to work on old files - NEW FINDINGS
References: <25F7D2213F14794A8767B88203EA2BC9240C4C@mucse201.eu.infineon.com>
In-Reply-To: <25F7D2213F14794A8767B88203EA2BC9240C4C@mucse201.eu.infineon.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

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

According to FischRon.external@infineon.com on 6/28/2005 2:51 AM:
> When I create a new file, behaviour depends on how I create it:
> 
>    touch new_file1
>    chmod 0777 new_file1
> 
> => works fine.
> But when I open a text editor, from within the editor create the new
> file,
> exit the editor, and then do a chmod on the file, I get "Permission
> denied"
> again.

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.

- --
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

iD8DBQFCwUG484KuGfSFAYARAlSmAKC8B6s6vqA0Xk+METvFHHS4hboHqQCdEbLE
BB5c7c5FCBLZ1lj2YiowzNc=
=59oU
-----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/

