X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-6.4 required=5.0	tests=BAYES_00,KAM_ADVERT2,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4BDA0D85.9060702@redhat.com>
Date: Thu, 29 Apr 2010 16:51:49 -0600
From: Eric Blake <eblake@redhat.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Lightning/1.0b1 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin@cygwin.com, melkor@orangpalantir.org
Subject: Re: Ignored Permissions
References: <4BD8797E.8020200@alumni.caltech.edu>	 <4BD889A0.3090902@bopp.net>  <20100429075809.GS1845@calimero.vinschen.de> <1272581272.1671.12.camel@erebor>
In-Reply-To: <1272581272.1671.12.camel@erebor>
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig3F63C902ADC08DB3F66B0182"
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

--------------enig3F63C902ADC08DB3F66B0182
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 04/29/2010 04:47 PM, Matthew B. Smith wrote:
> If I set the permissions of a file to be read only I can still delete
> it, or modify it w/out warning.

> This is an administrator acct if that affects the issue.  I am using 1.7

Yes, that makes a difference.  I bet if you became root on your Ubuntu
system, and did the same test, you'd notice the same behavior.  In other
words, running as admin does give you additional permissions above and
beyond those implied by the mode bits.

--=20
Eric Blake   eblake@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


--------------enig3F63C902ADC08DB3F66B0182
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Public key at http://people.redhat.com/eblake/eblake.gpg
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBCAAGBQJL2g2FAAoJEKeha0olJ0NqeYYH+wUZuXn6dnnOryDVQTuFtKLU
6Ediwr2zb1+nbEYkdAtd/TK169cTlgXQ4aR4ze79JyMyVZY8y1ByvzWf5NWIyizD
0S62a8jVqI9vjM77mfwLdVt3EPKKMS9C3+Pt/FuktqcbzpEDo2cqsyMPmjbDlitm
M5NFLxSMY26m/FzB7X+oSX18T9kVpclQI/3kIgN69r3vkRuuWczkwQhYTSmKYD4b
zrYE6iZBD/ThNWZCAebVxmHmITvzahcgOYWo7Ez4GZGXyzqJ3z/A/4gSjf4FceaO
K2YgGzB5FeNvO46q3lW/CSJ7RhzD2pC9MVeGRX/FWYvdAKDWzRvJ1Ux6906fjXw=
=W5zN
-----END PGP SIGNATURE-----

--------------enig3F63C902ADC08DB3F66B0182--
