From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22716 invoked by alias); 25 Apr 2014 15:57:46 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 22700 invoked by uid 89); 25 Apr 2014 15:57:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 25 Apr 2014 15:57:45 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 589028E08FA; Fri, 25 Apr 2014 17:57:43 +0200 (CEST) Date: Fri, 25 Apr 2014 15:57:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: rm -f behavior Message-ID: <20140425155743.GI5666@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <5358260B.90807@obj-sys.com> <20140424142304.GT2339@calimero.vinschen.de> <53592F15.4040309@obj-sys.com> <20140424163624.GU2339@calimero.vinschen.de> <20140425121614.GB5666@calimero.vinschen.de> <535A6FF9.90004@obj-sys.com> <20140425145036.GE5666@calimero.vinschen.de> <535A7F9B.5020804@obj-sys.com> <20140425154702.GH5666@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YhFoJY/gx7awiIuK" Content-Disposition: inline In-Reply-To: <20140425154702.GH5666@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-04/txt/msg00575.txt.bz2 --YhFoJY/gx7awiIuK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1124 On Apr 25 17:47, Corinna Vinschen wrote: > On Apr 25 11:30, Douglas Coup wrote: > > Incidentally, the sequence below should have nothing to do with Perforc= e. > >=20 > > $ touch dac.txt > > $ chmod 444 dac.txt > > $ rm -f dac.txt > >=20 > > This is being done completely outside of any Perforce workspaces. >=20 > Sorry, this isn't helpful. Make sure you're *really* using the correct > Cygwin DLL from the snapshot (uname -a), and if the above sequence > really fails to work, first call `attrib dac.txt' before calling rm to > see if the R/O attribute is set, then call rm under strace again and > send the strace. Also, if the R/O attribute gets set in the above > sequence, I have to know where it comes from. As I said, Cygwin does > not set the flag at all for normal files, not even in chmod. ...on NTFS. It uses the R/O bit on FAT or other crippled filesystems, but then it wouldn't even try to start a transaction since only NTFS supports that anyway. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --YhFoJY/gx7awiIuK Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJTWoX3AAoJEPU2Bp2uRE+gApwQAKJLPG5aj4pQV3iPlxNmA7ZM 2CcoKVhFx+PiCsv2CVoxjcNxXxFgMfUmhZWZrhi7dx2pU7hNjoqDfxwT/42CGb0W 0ooPZXrkjt6R0789X654yjolp1tN7brjx4aOfdEpWAiUHcONZtrFZeqZUKtdOKH7 Y/rbWgkBkxF2vzuPgxwas1AFyZsTEYv/FaBeCu5lPJ9ySzY2+1ISR9pez6JjuoRc JVX7wcGVvwrb650l3z4U+/7fnSGiVu2//YmpKaREa+0ArpZYjhlZMNczyRoo+bLe /CWmT+7mvaEOJ9smXhGc+GSNRF5VHacTLJCR9HY2NtkQxY+IMWJMKneQD4cwqStr D7zEzL0s11jCoveR95voA8+Xgo/rxST/ecsnIYfdLdz8j0ox8ctN/oJBrlU/uXts uKfsShVDF5/mclHQbo7HdjXXh2eQTNkWBvPKzuPVOc1EdAMg0RjFVh4U2Qo+z0zU b6/IaHVDCWUEx6d6/w9I+QLbYvvQJuf/y9NHkJWY+OJb2T+0E+NTzdech+xsDFR7 4MNUEHhTS/UOFV6zs9XYWekk/hr6CMlpR2CLFDAKOGRoK21lbskiTWXUbG0HIvec y6GKhQInwPgiK9ZoQySgVwnL0fdIfF5x7xYNp4dONHR8kqXIylOitIluZIj+AQjY /he3igRKAyE2+N12sOzE =hmHj -----END PGP SIGNATURE----- --YhFoJY/gx7awiIuK--