|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
I have an improvement for the find commandHi,
I have compiled in a change to the find command at my local site. I needed to find files/directories with acl access to a particular group, so I added in some -acl support In the case of the file named "out" in this example: ny630-lxdesk20:tmurphy~/workspace2/getacl$ getfacl out # file: out # owner: tmurphy # group: user user::rw- group::rw- group:sys:--x group:trader:--x group:mlpadmin:--x mask::rwx other::--- the command : find . -acl mlpadmin would report the file (note the new -acl PATTERN in the help section) ny630-lxdesk20:tmurphy/tmp/find/bin$ ./find --help Usage: ./find [path...] [expression] default path is the current directory; default expression is -print expression may consist of: operators (decreasing precedence; -and is implicit where no others are given): ( EXPR ) ! EXPR -not EXPR EXPR1 -a EXPR2 EXPR1 -and EXPR2 EXPR1 -o EXPR2 EXPR1 -or EXPR2 EXPR1 , EXPR2 options (always true): -daystart -depth -follow --help -maxdepth LEVELS -mindepth LEVELS -mount -noleaf --version -xdev tests (N can be +N or -N or N): -amin N -anewer FILE -atime N -cmin N -cnewer FILE -ctime N -empty -false -fstype TYPE -gid N -group NAME -ilname PATTERN -iname PATTERN -inum N -ipath PATTERN -iregex PATTERN -links N -lname PATTERN -mmin N -mtime N -name PATTERN -newer FILE -acl PATTERN -nouser -nogroup -path PATTERN -perm [+-]MODE -regex PATTERN -size N[bckw] -true -type [bcdpfls] -uid N -used N -user NAME -xtype [bcdpfls] actions: -exec COMMAND ; -fprint FILE -fprint0 FILE -fprintf FILE FORMAT -ok COMMAND ; -print -print0 -printf FORMAT -prune -ls Report bugs to <bug-findutils@...>. Where can I submit my code changes for peer review? Regards Tom Murphy ###################################################################### The information contained in this communication is confidential and may contain information that is privileged or exempt from disclosure under applicable law. If you are not a named addressee, please notify the sender immediately and delete this email from your system. If you have received this communication, and are not a named recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. ###################################################################### |
|
|
Re: I have an improvement for the find commandOn Mon, Jul 27, 2009 at 3:41 PM, Murphy, Thomas<Thomas.Murphy@...> wrote:
> Hi, > I have compiled in a change to the find command at my local site. I > needed to find files/directories with acl access to a particular group, > so I added in some -acl support Leslie (CC'ed) also wrote some patches for extended attribute support. I'm not sure to what extent these will overlap. > Where can I submit my code changes for peer review? This list would be fine. Please CC your patches (against the git branch "master") to findutils-patches@... too. James. |
| Free embeddable forum powered by Nabble | Forum Help |