X-Recipient: archive-cygwin@delorie.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:mime-version:date:message-id:subject:from:to
	:content-type; q=dns; s=default; b=HOWSQt9Zm+gxhwEhFRigRNdfZE6Hv
	kiW3GSKbRR9Iln327Hy6LYnOXeMYEo8+ReQWfkkgWHMjZjMuo/ISDD16d8z9hYRF
	v5kE/y8Ouuyacvcnda+wgFDA72ieQdliT701QwSItLziGZ5y5y9DThQ7O/8Fwojo
	xWfgkZXFBhkP3A=
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:mime-version:date:message-id:subject:from:to
	:content-type; s=default; bh=k7KSEM2s5K1572wNYi0DX+YaWwc=; b=rfk
	aZFvFFd3lgAln0bRB31qHz2shtXIG8RyBzkibR7mR/vqI3LkDk34i2SRWVH4XlM8
	yrFRB6lKlCke4g6R27uo7/HelLLXTD79ma+fHHguK2Q31k78BQbFQ7UxtZ6bUJ33
	Qfq8Usf91O/5fgqYRd5a/0GoJo0iDbVSGgZ/7npA=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ie0-f175.google.com
MIME-Version: 1.0
X-Received: by 10.50.111.233 with SMTP id il9mr10824293igb.13.1428488249959; Wed, 08 Apr 2015 03:17:29 -0700 (PDT)
Date: Wed, 8 Apr 2015 05:17:29 -0500
Message-ID: <CAAXzdLUZvdNw_UyOXMa5ozoGuG7zjPnz=rRLELFBoEF8+miZUA@mail.gmail.com>
Subject: setfacl can kill a drive
From: Steven Penny <svnpenn@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

I upgraded to the new Cygwin today, why is this command producing different
permissions? Moreover how do I get it to produce sane results?

    $ cd /cygdrive/c

    $ touch ~/alpha.txt ~+/alpha.txt

    $ ls -l ~/alpha.txt ~+/alpha.txt
    -rw-rwxr--+ 1 Steven None 0 Apr  8 05:06 /cygdrive/c/alpha.txt
    -rw-r--r--  1 Steven None 0 Apr  8 05:06 /home/Steven/alpha.txt

Also I discovered this

    $ setfacl -b /cygdrive/c

After that you get this

    C:\ is not accessible.
    Access is denied.

Luckily this was in a virtual machine. Otherwise, can this be undone? This is
very dangerous, and I feel it should be protected similarly to
"rm --no-preserve-root"

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

