delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/28/08:25:59

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: <42C141B8.4000604@byu.net>
Date: Tue, 28 Jun 2005 06:25:28 -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: <25F7D2213F14794A8767B88203EA2BC9240C4C AT mucse201 DOT eu DOT infineon DOT com>
In-Reply-To: <25F7D2213F14794A8767B88203EA2BC9240C4C@mucse201.eu.infineon.com>
X-IsSubscribed: yes

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

According to FischRon DOT external AT infineon DOT 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 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

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/

- Raw text -


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