URL:
<http://savannah.gnu.org/bugs/?27558>
Summary: [wishlist] support for posix acl match
Project: findutils
Submitted by: pbertera
Submitted on: mar 29 set 2009 15:44:50 GMT
Category: find
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: None
Fixed Release: None
_______________________________________________________
Details:
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
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: mar 29 set 2009 15:44:50 GMT Name: find-acl-support.patch Size: 13kB
By: pbertera
<http://savannah.gnu.org/bugs/download.php?file_id=18793>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27558>
_______________________________________________
Messaggio inviato con/da Savannah
http://savannah.gnu.org/