From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 113334 invoked by alias); 22 Jul 2017 17:36:23 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 112836 invoked by uid 89); 22 Jul 2017 17:36:23 -0000 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 Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.138) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 22 Jul 2017 17:36:21 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with SMTP id YyK9dFKzWDJTWYyKAd5bhl; Sat, 22 Jul 2017 11:36:19 -0600 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.Inglis@SystematicSw.ab.ca Subject: Re: GNU Tar v1.29 ACL File/Folder Permissions Question/Problem To: cygwin@cygwin.com References: <57b3b6a5-fbe9-90a8-f647-5f8ae48847d9@cornell.edu> From: Brian Inglis Message-ID: <284200f5-04b7-3848-5ef6-7b8278f71fa1@SystematicSw.ab.ca> Date: Sat, 22 Jul 2017 17:43:00 -0000 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 X-SW-Source: 2017-07/txt/msg00305.txt.bz2 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