delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/12/19/10:20:08

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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=AYsecImvfkgulMhjZru9BVUR+FoO63bDeZcoVePovrcGld8yRZ2LH
fV/oT84IThi04EcnRJ7iQTXX8KREvcawce0kfSPTVwk+7vkQ7F8fUjswcviZ0ho3
J7VDisTH4WrLuwp+0VEcX92IqyjalK46yfOYUEUzdfBSdzSuhcu8/U=
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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=PyifKSh1MVc8nPE8NWpMhC6yakc=; b=ArKdPTZ9lHXdbqAvWBjiY3ylvIA4
2+oiJALDpuhvAOtLPEV/NLz81UkSwN2zGOoBzNipmI+5bUpC8WS9RzVCpRGDPy0Q
mp/2ckpMMpSkWVrXdVxNE8NBSrw7Q11bTI9Y5zOvjBZUY6JQhiEj5ey1b34daGvL
7MRLWE8hhdakpS4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=living, H*F:D*cygwin.com, familiar, our
X-HELO: mout.kundenserver.de
Date: Wed, 19 Dec 2018 16:19:50 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Exclude System entries with "ls" or "find"
Message-ID: <20181219151950.GO28727@calimero.vinschen.de>
Reply-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>
MIME-Version: 1.0
In-Reply-To: <623029685.20181219174321@yandex.ru>
User-Agent: Mutt/1.9.2 (2017-12-15)

--U7NLafZe7Bh9OCap
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Dec 19 17:43, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
>=20
> > On Dec 19 08:29, Eliot Moss wrote:
> >> On 12/19/2018 7:10 AM, Andrey Repin wrote:
> >> > Greetings, Corinna Vinschen!
> >> >=20
> >> > > 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.
> >> >=20
> >> > Can something be implemented around getfattr to serve this use case =
in a more
> >> > POSIX'y way?
> >>=20
> >> 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 s=
upport
> >> access to the basic attributes this way.
> >>=20
> >> I suspect the general response will be PTC, though!  :-)
>=20
> > Not only that.  attr is an upstream package, so you would have to=20
> > convince the upstream maintainers to take your patches, ideally.
>=20
> > attr is for handling of extended attributes, quite different from
> > DOS attributes.  I doubt that DOS attribs fit in there.
>=20
> Well, well. We do have a living example of Samba (ab)using xattr to suppo=
rt
> Windows ACL on *NIX.

What are you trying to imply?  That we should fake an user.DOSATTRIB
EA, just like Samba?  Not sure I like the idea since that would have
to be added to each and every file on the fly.  You won't see the
Samba EA from Windows, though.

> I deduce from your response, that a DOS attributes use case would be on
> different side of the table, though.

It's something different.  It's not an EA thingy on Windows but rather
a filesystem property.  So sth. like the vfat IOCTL makes more sense,
if any.


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--U7NLafZe7Bh9OCap
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlwaYZYACgkQ9TYGna5E
T6BKKQ/7BlYi5kd4CNRsljmonzssGoti+dKC4sE/yuA7A9cR/yciEmKhwTvkcQOQ
jvhg7lB4dU1KGRCF850iSpR5ToIMdbx9Jx5G+AerPFX+R0VnCJ1b3lu5eR3pbzWu
dE4OX730T1e3QmVxOVD5O9FLtGw+MF1JmByaZsHBAgXZzbKzwGmxVpjXZvB1kuB4
ZWOW2G12hOrrO+Adbus7wOBsyRgqqii9FtCAeb9IqePJPkgPKF7F3Z61bLOzOC7o
UQ05Gx88y1NXrGqcINvXkp6SO/d7kEhGmme6bfct3HyGkJjojzpsAnxhwQZ+9qgD
IUDoQkE8Y3B5P3Clr/VxLsb3oesFthGn8/h3YXeEoEsOqLJs7P8eo1JIbEbKiPNU
JUFCXTgFqk8v9/ccdA4V31rJmaIrQAoJPWs2EMqxS+jgDKfEW540CQpBFC66XncW
qkoygdmXLKsOnhQnAezlpQRn+rlOp/jrtQObnxz4yBVb9hRJoPUFtdC4ELZMGw7r
1B8KheoDmt2PAaH7u0Xqb23MnOiyWPvQiefsMB4dRYy8miKX2uOTqR1u+8j/f9ys
wkwMup7ZgFheCV8tj+x1sgQAMW+OGZ2vMNTnRRacpZtBLQiakPzPwvgh2jdgln9k
jITULCofZZOSxFF3taUYhwHUDfB1RGoRbjmxfEp0PK9xH6x3T98=
=aglq
-----END PGP SIGNATURE-----

--U7NLafZe7Bh9OCap--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019