bugfindutils - Bugs: bug #40577, ACL support in find (new test(s)...

 
 

bug #40577: ACL support in find (new test(s) and updating -ls)

Submitter:  None
Submitted:  Thu 14 Nov 2013 07:16:57 AM UTC
Votes: 1
 
Category:  find Severity:  2 - Minor
Item Group:  Wrong result Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Nagendra Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  4.4.2
Fixed Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 28 May 2024 02:26:07 AM UTC, comment #3: 

FWIW, my rawhide (rh) program, which is an alternative to find, supports searching by "POSIX" or NFSv4 ACLs on Linux, FreeBSD, Solaris, Cygwin, and macOS (which has its own type of ACLs). OpenBSD and NetBSD don't support ACLs.

Its -l option does indicate the presence of ACLs and Extended Attributes (EAs). It's not identical to ls -dils but it's close (it indicates the presence of ACLs ("+") together with non-trivial EAs ("@") with "*").

See https://codeberg.org/raforg/rawhide for details. Its license is GPLv3 so feel free to take anything useful.

raf <raf>
Sun 26 May 2024 12:07:57 PM UTC, comment #2: 

I marked bug #27558 as a duplicate of this one.

James Youngman <jay>
Group administrator
Sun 26 May 2024 10:52:33 AM UTC, comment #1: 

find also lacks a test for ACLs, so I modified the summary of this bug to broaden the topic a little.

James Youngman <jay>
Group administrator
Thu 14 Nov 2013 07:16:57 AM UTC, original submission:  

According to find info page find -ls is equivalent `ls -dils'.
Below is what we had observed

getfacl run.sh
# file: run.sh
# owner: vsnag
# group: vsnag
user::rwx
user:praveen:r-x
group::r-x
mask::r-x
other::r-x

find -maxdepth 1 -ls | grep run
184169    8 -rwxr-xr-x   1 vsnag    vsnag          31 Jun 23 20:20 ./run.sh

[vsnag@dctxvm214 ~]$ ls -dils run.sh
184169 8 -rwxr-xr-x+ 1 vsnag vsnag 31 Jun 23 20:20 run.sh

The permission field in find does not display "+" sign for files with acl.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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 jay (Updated the item)
  • -email is unavailable- added by gnurf (Voted in favor of this item)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There is 1 vote 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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-05-26 jay Summaryfind -ls does not display file acl info ACL support in find (new test(s) and updating -ls)
    2024-05-19 jay Severity3 - Normal 2 - Minor
    2024-05-02 gnurf Carbon-Copy- Added gnurf

    Back to the top

    Powered by Savane 3.14-3b9d.
    Corresponding source code