extended attribute and capability support for find - patches for review

2015-01-14 Thread Morgan Weetman
Morgan Weetman Consultant Red Hat Consulting http://www.apac.redhat.com/products/consulting/ From b6c74c78f20929fff5c92e5277ea0a6dc0f4bc7f Mon Sep 17 00:00:00 2001 From: Morgan Weetman Date: Fri, 7 Nov 2014 18:59:45 +1100 Subject: [PATCH 1/8] find: added extended attribute predicate * find

Re: How test for directory with single quote (') in the name (with find)?

2015-03-04 Thread Morgan Weetman
- Original Message - > From: "Peng Yu" > To: bug-findutils@gnu.org > Sent: Thursday, 5 March, 2015 2:16:55 AM > Subject: How test for directory with single quote (') in the name (with find)? > > Hi, > > The following code shows that if a directory has single quote in the > name, it does

Re: How test for directory with single quote (') in the name (with find)?

2015-03-04 Thread Morgan Weetman
- Original Message - > From: "Bernhard Voelker" > To: "Morgan Weetman" , "Peng Yu" > Cc: bug-findutils@gnu.org > Sent: Thursday, 5 March, 2015 9:39:52 AM > Subject: Re: How test for directory with single quote (') in the name (wi

Re: Why xargs still call the command when there is no input?

2015-06-02 Thread Morgan Weetman
Hi Peng, if you read the man page the behaviour is defined (note the "one or more times"): - xargs reads items from the standard input, delimited by blanks (which can be protected with double or single quotes or a backslash) or newlines, and executes the command (defaul

Rebased extended attribute (-xattr) and capabilty (-cap) patch for find

2016-01-15 Thread Morgan Weetman
Hi all, Resubmitting this patch for review, allows finding files based on extended attributes or capabilities, any feedback would be appreciated thanks -- Morgan Weetman Red Hat Senior Consultant M: 0439 469 793 http://www.apac.redhat.com/products/consulting/ From

Re: [Findutils-patches] Rebased extended attribute (-xattr) and capabilty (-cap) patch for find

2016-01-19 Thread Morgan Weetman
Hey Berny, I've never played with configure files in-depth but I'll give it a go, thanks for the suggestion On 19 January 2016 at 21:09, Bernhard Voelker wrote: > On 01/16/2016 07:21 AM, Morgan Weetman wrote: >> >> Hi all, >> >> Resubmitting this patch for

Re: Why is `find -name '*.txt'` much slower than '*.txt' on glusterfs?

2018-01-23 Thread Morgan Weetman
ms > > because obtaining a correct value fort st_size requires finding the > > consensus answer for the current length of the file, while obtaining the > > list of items in a directory may not require the same amount of locking > or > > consensus work > > > > James. > > > > > > -- > Regards, > Peng > -- Morgan Weetman Services Content Architect M: +61 439 469 793 https://www.redhat.com/en/services/training

Re: [Findutils-patches] Rebased extended attribute (-xattr) and capabilty (-cap) patch for find

2018-07-16 Thread Morgan Weetman
Hi all, Many thanks to Pavel for helping me with autoconf, I am resubmitting the patch for xattr and cap support which is now deconfigurable... cheers On 13 July 2018 at 01:08, Pavel Raiskup wrote: > Hi Morgan, > > On Tuesday, January 19, 2016 12:02:24 PM CEST Morgan Weetman wrote

Re: [Findutils-patches] Rebased extended attribute (-xattr) and capabilty (-cap) patch for find

2018-07-16 Thread Morgan Weetman
Many thanks for all your assistance with autoconf Pavel... an updated patch supporting de-configuration is attached for review On 13 July 2018 at 01:08, Pavel Raiskup wrote: > Hi Morgan, > > On Tuesday, January 19, 2016 12:02:24 PM CEST Morgan Weetman wrote: > > Hey Berny, >

Re: design problem in 'diff -r' comparing 2 trees.

2018-07-17 Thread Morgan Weetman
. > > So how do I prevent diff from following symlinks - and more usefully, > maybe compare the contents of such symlinks (i.e. most of them > are relative and should be the same between the two trees being compared). > > Am I missing a switch to not follow symlinks? > Seems so

Re: [Findutils-patches] Rebased extended attribute (-xattr) and capabilty (-cap) patch for find

2018-07-18 Thread Morgan Weetman
rmat-patch -1". > > > For maintainers, since Morgan is Red Hat employee no copyright paperwork > > is needed. > > great, thanks. > > > On Tuesday, July 17, 2018 2:05:15 AM CEST Morgan Weetman wrote: > >> diff --git a/configure.ac b/configure.ac > >

Re: [bug #58941] wishlist: Support for -xattr -xattrname

2020-08-12 Thread Morgan Weetman
g, > Kevin > > > > > ___ > > Reply to this item at: > > <https://savannah.gnu.org/bugs/?58941> > > ___ > Message sent via Savannah > https://savannah.gnu.org/ > > > -- Morgan Weetman Services Content Architect M: +61 439 469 793 https://www.redhat.com/en/services/training-and-certification

Re: [bug #58941] wishlist: Support for -xattr -xattrname

2020-08-12 Thread Morgan Weetman
wrote: > Hi Morgan, > > On Thu, 2020-08-13 at 12:02 +1000, Morgan Weetman wrote: > > On Thu, 13 Aug 2020 at 00:34, Kevin Locke wrote: > >> It would be great if find could support searching for files based on the > >> presence/absence of extended attributes (xattrs). &

Re: [bug #58941] wishlist: Support for -xattr -xattrname

2020-08-12 Thread Morgan Weetman
Thanks Kevin.. there's a thread in the mail list archive here: https://lists.gnu.org/archive/html/bug-findutils/2018-07/threads.html .. regarding what needed cleaning up cheers On Thu, 13 Aug 2020 at 12:47, Kevin Locke wrote: > On Thu, 2020-08-13 at 12:37 +1000, Morgan Weetman wrote

Re: [bug #58941] wishlist: Support for -xattr -xattrname

2020-08-13 Thread Morgan Weetman
ernhard Voelker wrote: > On 2020-08-13 04:37, Morgan Weetman wrote: > > Done.. I just made the repo public: > https://gitlab.com/mweetman/findutils > > Thanks for sharing. > I was just about to ask about it. The patch from that time was already > ~80% complete. > Do yo

Re: [bug #58941] wishlist: Support for -xattr -xattrname

2020-08-13 Thread Morgan Weetman
find? Do we try to be compatible? Do we not care and just do our own thing? many thanks On Fri, 14 Aug 2020 at 05:32, Bernhard Voelker wrote: > On 2020-08-13 04:37, Morgan Weetman wrote: > > Done.. I just made the repo public: > https://gitlab.com/mweetman/findutils > > Than

Re: [bug #58941] wishlist: Support for -xattr -xattrname

2020-08-16 Thread Morgan Weetman
_home_t:s0 security.selinux: unconfined_u:object_r:user_home_t:s0 security.selinux: unconfined_u:object_r:user_home_t:s0 security.selinux: unconfined_u:object_r:user_home_t:s0 thanks On Fri, 14 Aug 2020 at 18:24, Bernhard Voelker wrote: > Hi Morgan, > > On 2020-08-14 07:57, Morgan Weetman wrote:

Re: [bug #64605] Add support for extended attributes

2023-08-29 Thread Morgan Weetman
. > > Have a look at #58941. There is a link to a version of findutils by Morgan > Weetman on gitlab that has an -xattr predicate, and there is a link to the > mailing list discussion. Perhaps you could use Morgan Weetman's version. > > Until the issues are resolved,