bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ACL for Cygwin (enhancement)


From: Eljay Love-Jensen
Subject: ACL for Cygwin (enhancement)
Date: Tue, 22 Jul 2003 10:08:46 -0500

re: findutils-4.1.7-4 under Cygwin

I added rudimentary ACL detection for find 4.1.7-4 under Cygwin.  For 
instance...

find . -acl

...will detect all files and directories that have ACL beyond u/g/o (i.e., the 
ACL Count is > 4).

I use this to whack the extra ACL entries via Cygwin tools getfacl and 
setfacl...
-------8<--whackacl.bash--------
while test "$#" -ge 1
do
    getfacl "$1" | grep -e '^[^d]' | grep -v -e 'group:[^:]' -e 'user:[^:]' | 
setfacl -f - "$1"
    shift
done
-------8<-------------------

Anyone interested in the deltas or whole sources for  findutils-4.1.7-4 under 
Cygwin?

(If interested in the deltas, please let me know the commands you want to 
generate the deltas in the format you'd prefer.)

--Eljay

PS:  I'm not on the address@hidden mailing list.  Please CC me on any responses.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]