bugfindutils - Bugs: bug #27558, [wishlist] support for posix acl...

 
 

bug #27558: [wishlist] support for posix acl match

Submitter:  pietro bertera <pbertera>
Submitted:  Tue 29 Sep 2009 03:44:50 PM UTC
Votes: 2
 
Category:  find Severity:  3 - Normal
Item Group:  None Status:  Duplicate
Privacy:  Public Assigned to:  jay
Originator Name:  Open/Closed:  Closed
Release:  None Fixed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 28 May 2024 02:13:12 AM UTC, comment #5: 

FWIW, my rawhide (rh) program, which is an alternative to find, supports searching by (never-standardized) "POSIX" ACLs on Linux, FreeBSD, Solaris (for ufs), and Cygwin, as well as NFSv4 ACLs for FreeBSD and Solaris (for zfs), as well as macOS's own "Extended" ACLs. OpenBSD and NetBSD don't support ACLs. You could use that in the meantime. See https://codeberg.org/raforg/rawhide for details.

raf <raf>
Sun 26 May 2024 12:07:18 PM UTC, comment #4: 

Rolling this up into bug #40577 which covers the printing side of this functionality as well.

James Youngman <jay>
Group administrator
Sat 28 Dec 2019 11:56:20 AM UTC, comment #3: 

This one has been set to need info for a while.

Is this just waiting on documentation to indicate where this works? It may be a difficult question to answer.

Would it be fair to assume it may not work everywhere and when those issues arise it will be fixed to include the edge cases, or should the edge cases be dealt with now?

It seems a reasonable feature to have.

ed neville <eneville>
Wed 25 Sep 2013 09:19:19 PM UTC, comment #2: 

Does this work on all POSIX systems?   What Unix systems have ACLs which aren't handled by the patch?   What selection criteria might one want to apply that aren't yet implemented in the patch?

James Youngman <jay>
Group administrator
Thu 09 Jun 2011 12:38:56 PM UTC, comment #1: 

hi,

Is there any hope of having GNU/find with support for POSIX ACLs?

pietro bertera <pbertera>
Tue 29 Sep 2009 03:44:50 PM UTC, original submission:  

It would be nice if find have a support for posix acl in file match. For example:

$ touch 1 2 3 4
$ mkdir 5
$ setfacl -m u:root:rx 1
$ setfacl -m g:bin:rw 2
$ setfacl -m u:pietro:--- 3
$ setfacl -m g:bin:rw 3
$ setfacl -m g:wheel:r 4
$ setfacl -m d:u:root:rwx 5
$ touch 5/6
$ setfacl -m g:wheel:r 5/6

$ find . -acl u:root:rx
./1
$ find . -acl u:root:*
./1
./5/6
$ find . -acl u:*:rx
./1
$ find . -acl g:*:*
./4
./3
./5/6
./2
$ find . -acl d:u:*:*
./5

I attach a dummy (working on Linux) patch against 5a8d448792368366f358d41e1a67853468e5fc92 git commit

pietro bertera <pbertera>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #18793:  find-acl-support.patch added by pbertera (13KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by raf (Posted a comment)
  • -email is unavailable- added by gnurf (Voted in favor of this item)
  • -email is unavailable- added by eneville (Posted a comment)
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by pbertera (Voted in favor of this item)
  • -email is unavailable- added by pbertera (Submitted the item)
  •  

    There are 2 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-05-26 jay StatusNeed Info Duplicate
        Open/ClosedOpen Closed
    2024-05-02 gnurf Carbon-Copy- Added gnurf
    2013-09-25 jay StatusNone Need Info
    2013-09-25 jay Assigned toNone jay
    2011-06-09 pbertera Carbon-Copy- Added pbertera
    2009-09-29 pbertera Attached File- Added find-acl-support.patch, #18793

    Back to the top

    Powered by Savane 3.13-3e34.
    Corresponding source code