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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=PXwtgawEQIjKiMii py5S0LRj4y+/EDQO33gB57+GnrTot6MQBKg/WE0ceR28ey+IIJZxQXFdJgocL6uI yAfj69+hG2+XfviGv0VDtHrGcjZD97sVD1UM7sx42lyBBO/hwXEt8rmz8p88VLcc 9joBQUG9pJdLYiMSZErOzcdl6eo= 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=9f974UID8lkEBRCs6cgF1l a/e7c=; b=bkpBpvsiNO1vPin7rNIMkDZGbykfjXqKUcjE+jqI/1h+wEN9AcgBdD H6FxpmGRrFovpKq7CczYK3ZEARDLTsyzuAT4WEQ23Y6oHCyIlNGfUH7hnRJ7quHA m+gxGQAg1vrR9nMvZAFiONawNk1O5eJqq/gcnkwiHTp6TR9zJNar0= 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=-0.1 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*r:ip*192.168.1.100, H*Ad:D*ca, Hx-spam-relays-external:!192.168.1.100!, H*RU:!192.168.1.100! X-HELO: smtp-out-so.shaw.ca X-Authority-Analysis: v=2.2 cv=B4DJ6KlM c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=b4eMD0GmHX_ZvWjD-W0A:9 a=QEXdDO2ut3YA:10 a=cQLvbiNSyn4A:10 a=sRI3_1zDfAgwuvI8zelB:22 Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: GNU Tar v1.29 ACL File/Folder Permissions Question/Problem To: cygwin AT cygwin DOT com References: <57b3b6a5-fbe9-90a8-f647-5f8ae48847d9 AT cornell DOT edu> From: Brian Inglis Message-ID: <284200f5-04b7-3848-5ef6-7b8278f71fa1@SystematicSw.ab.ca> Date: Sat, 22 Jul 2017 11:36:17 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <57b3b6a5-fbe9-90a8-f647-5f8ae48847d9@cornell.edu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfCCw1qzlGgjrZgVW7sixf61ySOYVSgDprVAiWf3bPVQRROajOmTqOGfL+XVL60oynN0GXtdOHGIzc/9svlNz6U7cxNJqIRaXfMpKoZQ/K97S1LGgj1le cKbnxlzBAhE6r75clixH8w1beH/5j9NDZroyvQlbzdxgDS2U3zdDqQbMfd5r15Xe9bz/xyC7aSfiVA== X-IsSubscribed: yes On 2017-07-22 10:16, Ken Brown wrote: > On 7/21/2017 4:59 PM, Timothy Beryl Grahek wrote: >> Whenever I have ACL enabled in /etc/fstab, I run into file access >> problems with GNU Tar. To be clear, a simple scenario is to tar a few >> folders, then extract them. In numerous cases, I am unable to enter >> the folders I have extracted without entering a "chmod 744" as an >> administrator. >> I have consequently disabled ACL in /etc/fstab, which has fixed this problem. >> Anybody have any ideas as to why this happens and how to avoid it >> without disabling ACL? > > Could the problem be caused by the default ACL on the directory you're > extracting into? If so, the -b or -k option to 'setfacl' might help. See > > https://cygwin.com/cygwin-ug-net/setfacl.html Could be lack of any DACL? Don't ever use setfacl -k to remove DACLs from any directory where you may ever use Windows programs to create, move, or drop a file, as it may end up with deny all permissions, and you have to go elevated/admin to restore access. BTDT ;^> I use native Windows, not X, programs when I want to use GUIs, and that occasionally causes problems like this. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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