X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=daUot9te6HEcmLottKrDKN5q/jNcwcLWer5f4B+fC+BoLgL6Tg+xE Z5RwjXjHWvqOBLBZfZrDO6WW6EqUtrRkDJy7RtfSjSKZOw6QdK29XNrRb5ukX5wX fmZzNRHkJqU0303uFlsOqlMZ4B8e6ZDTWa1l1N3Rtbo0ulbIPv2QHs= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=+TctG5RmNBSjKxcd8raoYFPlulY=; b=ZjIfILDIPM9IHS7/NNOLYCjzbTX7 jPLmdn0LGlLLkX/dCRa9XyhBIcNzf98spTSVHESnDZv3HGONLk4JVYgJeOfa+KSX wvYwtqU8Ql55Td7zWlo0L/N4aiYuBvvpfyhZ9YcsCik9rndXd30+PXbE8cyCdBhH XEQ2lIP2urrIzPw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 Date: Fri, 25 Apr 2014 17:57:43 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: rm -f behavior Message-ID: <20140425155743.GI5666@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <5358260B DOT 90807 AT obj-sys DOT com> <20140424142304 DOT GT2339 AT calimero DOT vinschen DOT de> <53592F15 DOT 4040309 AT obj-sys DOT com> <20140424163624 DOT GU2339 AT calimero DOT vinschen DOT de> <20140425121614 DOT GB5666 AT calimero DOT vinschen DOT de> <535A6FF9 DOT 90004 AT obj-sys DOT com> <20140425145036 DOT GE5666 AT calimero DOT vinschen DOT de> <535A7F9B DOT 5020804 AT obj-sys DOT com> <20140425154702 DOT GH5666 AT calimero DOT vinschen DOT 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) --YhFoJY/gx7awiIuK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 -----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--