www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/29/18:52:10

X-Recipient: archive-cygwin AT delorie DOT 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 AT redhat DOT 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 AT cygwin DOT com, melkor AT orangpalantir DOT org
Subject: Re: Ignored Permissions
References: <4BD8797E DOT 8020200 AT alumni DOT caltech DOT edu> <4BD889A0 DOT 3090902 AT bopp DOT net> <20100429075809 DOT GS1845 AT calimero DOT vinschen DOT de> <1272581272 DOT 1671 DOT 12 DOT camel AT erebor>
In-Reply-To: <1272581272.1671.12.camel@erebor>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

--------------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 AT redhat DOT 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--

- Raw text -


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