delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/28/03:58:40

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
X-SBRS: None
MIME-Version: 1.0
Subject: chmod suddenly ceased to work on old files
Date: Tue, 28 Jun 2005 09:56:40 +0200
Message-ID: <25F7D2213F14794A8767B88203EA2BC9240C49@mucse201.eu.infineon.com>
From: <FischRon DOT external AT infineon DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j5S7wXv9015376

From one day to the next, I can't chmod any old files anymore (error
message:
"permission denied"), but when I create a new file, I can chmod it
without
problems:

   chmod 0777 some_old_file

=> ... Permission denied

   touch new_file
   chmod 0777 new_file

=> works fine.

My first thought was that the user id might mysteriously have changed
over night,
but a listing of the files with 

   ls -ln 

and a check of my user id with

   id -u

confirms that the same numeric user id is used all the time.

I'm running cygwin under Windows 2000. My CYGWIN variable has the value:

   tty ntsec smbntsec

Any idea what is going wrong?

Ronald
-- 
Ronald Fischer 
Infineon Technologies AG
 IT BT CFS IKM
Tel: +49 89 234 81643
Fax +49 89 234 27850
fischron DOT external AT infineon DOT com 
***** VISIT US AT: <http://www.infineon.com> ***** 
 

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