Is there a fast way to get acl's for the whole filesystem (or chunk thereof)

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Fri Nov 6 05:15:00 GMT 2009


On 11/05/2009 11:05 PM, aputerguy wrote:
>
> OK... one small problem.
> Every ~4500 lines and (70-80K characters), both of these methods omit the
> empty line between the getfacl stanzas. The skipped lines however don't
> occur at the same places in the two different methods.
>
> I assume it must be due to buffering of the long line input or something,
> but I would like to correct for it.
> Preferably correct it before it occurs rather than having to use some sed or
> perl magic to clean up the file afterward.
>
> Any suggestions?

$ getfacl ~/.vim/colors/mine.vim; getfacl ~/.bash_history; getfacl.exe /tmp/tt
# file: /home/lhall/.vim/colors/mine.vim
# owner: lhall
# group: None
user::rwx
group::---
mask:rwx
other:---
# file: /home/lhall/.bash_history
# owner: lhall
# group: None
user::rw-
group::---
mask:rwx
other:---
# file: /tmp/tt
# owner: lhall
# group: None
user::rw-
group::r--
mask:rwx
other:r--

What "empty line between the getfacls stanzas"?

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list