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=e3/ZZN8+GmHu8oim i5ysci7zggpGFkAWzdBN/xf8pPtc0An91UirPhmJd5WHotKzqBDnOhNDeby7C44R rKDETrLDd9uUGS55fFJDkNbpWKLgO7JleOviqJUUVveutNNglZrfeDDPWJyH54xs G01M19tEltGnMueAckDq/6BsL8s= 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=OAHangiWVu6c1sP0hOLwoR 0SuU4=; b=M+x4e3sLkw0b95/RkHVCUIly6lm+UbCu2Zc6fkEkIlvE4DJ1BzmlZo A+/bfpHc3C1Dk13YuiNoiigZgPN0RgmUn/wBK7hIb+u55YWqG2m8YW6mbjlePUiY W3n7UO2Y4g0OQlD/OV0X5iwUG3+3OY2QkvnI1Zcw5Gcf5MDsnvIV8= 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=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*RU:192.168.1.10, H*r:ip*192.168.1.10, Hx-spam-relays-external:192.168.1.10, living X-HELO: forward101p.mail.yandex.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1545231003; bh=Nvlasm0P317zZy1H9EW38qTw3YRg55URUov5ua2+7rA=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=Z+OfBKXJ11JhASvgMXxxeTF105+j6V+GJ/tahXAIli8/YDepE4br02QGZjkz4J1TF dLjwnkPIqr8yId8SKV0kjk/8L6wtEvxY+RDRMz801AohkOYxFCRJ0bvchw0ixD0/9n P4fvQOMBmYxc+pcmEslstAJdrkQyU/0wilkb/cBM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1545231002; bh=Nvlasm0P317zZy1H9EW38qTw3YRg55URUov5ua2+7rA=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=qhUPJ756iNIJLIMy1P1W9Gx0ULI8l+xn7UW2L7/dlGOjT8XOBzcCVEAaF/idyrq9b 87UU2w+qXXJU9IHY5mCt39iFcpHrMpoOmfT/qcksLSBk8lzG27yRYcF4WUWFrjvzev oiG7HtfdEH/VSNJxfaF88tgZp63gfQr1PdNKYlSM= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Wed, 19 Dec 2018 17:43:21 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <623029685.20181219174321@yandex.ru> To: Corinna Vinschen , cygwin AT cygwin DOT com Subject: Re: Exclude System entries with "ls" or "find" In-Reply-To: <20181219133908.GK28727@calimero.vinschen.de> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Corinna Vinschen! > On Dec 19 08:29, Eliot Moss wrote: >> On 12/19/2018 7:10 AM, Andrey Repin wrote: >> > Greetings, Corinna Vinschen! >> > >> > > 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. -- With best regards, Andrey Repin Wednesday, December 19, 2018 17:41:17 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