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=ZXwFD4T+YIGO8uZ+ B2Y/5fvwoR/vjhz7RbrCq//NFpFPUBRWWSaoHi572RsA26dEAP/awPIqGpAqxn3m vOFEHN6YfGqAjDUIQEIsGs7YgKSr8+EGid4upMAtVXeY2Wvd2TVzZ/q1JlE4BTib yD6j+58FpOYWV5IhgYJiajPBLrc= 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=eVIbi6cgkT22vvyUl4WvR9 BISeY=; b=Ks3VuUEoVChtxiBVBkHCWLE6N/3bJEod24zkwPZHeaJsyPZDd/l9p8 gbnI37nkwVr1trOjwVWUWP1EFhT2pt9jRmqz1saFty4+HJN+x1Y17gExETbzKXoO f4o7/DQV7t4M4kYPVGG2EJJrA2pRHa5UIqKt781I1wXpPy+y70Tw4= 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-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=calgary, Calgary, Canada, Alberta X-HELO: smtp-out-no.shaw.ca Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: Exclude System entries with "ls" or "find" To: cygwin AT cygwin DOT com References: <5c184377 DOT 1c69fb81 DOT 7df8f DOT 9525 AT mx DOT google DOT com> <20181218081347 DOT GD28727 AT calimero DOT vinschen DOT de> <7831498f-3c06-5810-354e-87c452d3a0e7 AT SystematicSw DOT ab DOT ca> <20181219100622 DOT GF28727 AT calimero DOT vinschen DOT de> <328574974 DOT 20181219151038 AT yandex DOT ru> <640e5b20-253d-682b-e021-f6b2c95bfd6f AT cs DOT umass DOT edu> <20181219133908 DOT GK28727 AT calimero DOT vinschen DOT de> <623029685 DOT 20181219174321 AT yandex DOT ru> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <7f296933-3536-19a6-77ff-b167215e7c7e@SystematicSw.ab.ca> Date: Wed, 19 Dec 2018 11:25:48 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: <623029685.20181219174321@yandex.ru> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 2018-12-19 07:43, Andrey Repin wrote: >> On Dec 19 08:29, Eliot Moss wrote: >>> On 12/19/2018 7:10 AM, Andrey Repin wrote: >>>>> Bottom line is, if you want to handle DOS attributes in a special way >>>>> not covered by our POSIX emulation, user space has to do it. >>>> Can something be implemented around getfattr to serve this use case in a more >>>> POSIX'y way? >>> I was not previously much aware of get/setfattr, but I agree that that looks >>> like a possible way to provide access to the Windows SYS attribute and friends. >>> Not that I am that familiar with details of what NTFS, etc., provide, getfattr >>> may be a way to provide access to additional attributes / facts about files >>> (paths, generally) as well. Sounds like it would not be too hard to support >>> access to the basic attributes this way. >>> I suspect the general response will be PTC, though! :-) >> Not only that. attr is an upstream package, so you would have to >> convince the upstream maintainers to take your patches, ideally. >> attr is for handling of extended attributes, quite different from >> DOS attributes. I doubt that DOS attribs fit in there. > Well, well. We do have a living example of Samba (ab)using xattr to support > Windows ACL on *NIX. > I deduce from your response, that a DOS attributes use case would be on > different side of the table, though. While WSL uses Windows EAs to support POSIX stattributes[sic]. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- 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