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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=MXWoRH0mzem2DGft lesRlRFJxJzTZFWfZdU7DEXQuHCix5ySXOhsU8RF1myZspyDIz3TXFfIDiKrtcKC bYFS8rrkQj8P1t0Dm+vXyKiZ2IDObidSImVDlOVLLGPJRAOgOHFVh+eNf279lswF 6TNUNHngWkR2cNTcS/6kCt0Txck= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=6vLRP3UDZ7yftFElBveAjj dGE6w=; b=F4VE7Qh4whmUJwT2oKA8Dmn3Qz/ry3xLoHSFzERhlAIxUlF3nLjhvk gaUWPeYsQmFirzFtAUOE0ABf6MdzH2fD2CHdtgHQuWmiVKH0kowRpA0GoY8pSsLD tMmiKoDvIIY4zh6jExMVDGVteVT2Y0v7i2pq87a5SOpxaAQBefRic= 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=-3.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Date: Thu, 9 Apr 2015 00:46:37 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1541236479.20150409004637@yandex.ru> To: Steven Penny , cygwin AT cygwin DOT com Subject: Re: setfacl can kill a drive In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Steven Penny! >> 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. Cygwin is not Linux. And C:\ drive is not a part of Cygwin. If you really want to destroy your Windows installation, there's easier ways than meddling with setfacl on the root drive. -- With best regards, Andrey Repin Thursday, April 9, 2015 00:45:45 Sorry for my terrible english... -- 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