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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: References: Date: Wed, 8 Apr 2015 16:40:20 -0500 Message-ID: Subject: Re: setfacl can kill a drive From: Steven Penny To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 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