From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79447 invoked by alias); 19 Dec 2018 14:50:11 -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 79419 invoked by uid 89); 19 Dec 2018 14:50:09 -0000 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 Received: from forward101p.mail.yandex.net (HELO forward101p.mail.yandex.net) (77.88.28.101) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 19 Dec 2018 14:50:06 +0000 Received: from mxback5o.mail.yandex.net (mxback5o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1f]) by forward101p.mail.yandex.net (Yandex) with ESMTP id 3FAB33280F0D for ; Wed, 19 Dec 2018 17:50:03 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback5o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id LUJqPZTMQV-o3UmOmUM; Wed, 19 Dec 2018 17:50:03 +0300 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= Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 3tT4waltGr-o2fiuEju; Wed, 19 Dec 2018 17:50:02 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) 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 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Wed, 19 Dec 2018 14:43:21 -0000 Date: Wed, 19 Dec 2018 15:19:00 -0000 From: Andrey Repin Reply-To: cygwin@cygwin.com Message-ID: <623029685.20181219174321@yandex.ru> To: Corinna Vinschen , cygwin@cygwin.com Subject: Re: Exclude System entries with "ls" or "find" In-Reply-To: <20181219133908.GK28727@calimero.vinschen.de> References: <5c184377.1c69fb81.7df8f.9525@mx.google.com> <20181218081347.GD28727@calimero.vinschen.de> <7831498f-3c06-5810-354e-87c452d3a0e7@SystematicSw.ab.ca> <20181219100622.GF28727@calimero.vinschen.de> <328574974.20181219151038@yandex.ru> <640e5b20-253d-682b-e021-f6b2c95bfd6f@cs.umass.edu> <20181219133908.GK28727@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg00179.txt.bz2 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