delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/08/17:40:39

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=cA
GXDaKitjshnhuBjqhy+SoUpEZUFGz2UQob4OA7j27fMZ5AV0Itf7IpcMfDY/nr1S
i6MymXcZwWGJWPodqivcFL915iFDAFBp7aSsA67Zte3BJckHH4B+gdTXQ4DsIJVe
xBBj9dqC9AgmfGMtzaVwz4ylhuuGFxRUTSq/zvK/g=
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:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=qTpDnJE5
lZsyHqcd9klQ/sW+m70=; b=aFBkU+oQE9N69ozZigAiR/yQquneNfzYrZOJcWxq
YtJ1j9Sq6j8I0U+KMmw/6tLWakX3nZ0OWCi08gOPMIq/X8Vuuksy9YLQX1ymB06M
ZiEkuZhFn2xPPqlbUjjDhri3yuxTNGjkriVgtrn7sOVQ259tpqWalrQvohiGGBxC
VHQ=
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
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-f176.google.com
MIME-Version: 1.0
X-Received: by 10.42.164.7 with SMTP id e7mr29725810icy.70.1428529220564; Wed, 08 Apr 2015 14:40:20 -0700 (PDT)
In-Reply-To: <CAAXzdLUZvdNw_UyOXMa5ozoGuG7zjPnz=rRLELFBoEF8+miZUA@mail.gmail.com>
References: <CAAXzdLUZvdNw_UyOXMa5ozoGuG7zjPnz=rRLELFBoEF8+miZUA AT mail DOT gmail DOT com>
Date: Wed, 8 Apr 2015 16:40:20 -0500
Message-ID: <CAAXzdLUgnjfeA=LkrdUp68zHterj5hj5BtLqh0W=TCAn1zPrpQ@mail.gmail.com>
Subject: Re: setfacl can kill a drive
From: Steven Penny <svnpenn AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Wed, Apr 8, 2015 at 5:17 AM, Steven Penny wrote:
> I upgraded to the new Cygwin today, why is this command producing different
> permissions? Moreover how do I get it to produce sane results?

I was able to use these command to produce sane results

    $ cd /cygdrive/c

    $ touch bad.txt

    $ setfacl -k .

    $ touch good.txt

    $ ls -l *.txt
    -rw-rwxr--+ 1 John None 0 Apr  8 02:16 bad.txt
    -rw-r--r--  1 John None 0 Apr  8 02:16 good.txt

I feel that the default permissions are wrong here. On linux when you create a
new file with touch, it does not have executable permissions, for good reason.
This would be a security issue.

--
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

- Raw text -


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