X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 	tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Date: Thu, 30 Apr 2009 17:05:17 -0500 (CDT)
From: Tim McDaniel <tmcd@panix.com>
To: cygwin@cygwin.com
Subject: Re: I'd like to have an unreadable file
In-Reply-To: <49FA1C44.6020007@cygwin.com>
Message-ID: <Pine.NEB.4.64.0904301702540.11538@panix2.panix.com>
References: <Pine.NEB.4.64.0904301620510.20542@panix2.panix.com>  <49FA1C44.6020007@cygwin.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

On Thu, 30 Apr 2009, Larry Hall wrote:
> It's a known fact that Cygwin allows users that are members of the
> Adminstrators group access to any file, regardless of its
> permissions.

Thank you for the quick reply.  (Though I find it scary that Cygwin
can escalate privileges so very much.)

I guess the workaround would be to simply test the script by running
as a user who is not in the Administrators group.

-- 
Tim McDaniel, tmcd@panix.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/

