delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/05/23:14:35

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AF3A282.8030907@cygwin.com>
Date: Thu, 05 Nov 2009 23:13:54 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Is there a fast way to get acl's for the whole filesystem (or chunk thereof)
References: <26222793 DOT post AT talk DOT nabble DOT com> <6fv6f5dgkrgi6baa9ghfjaqp7h9a3eq9pj AT 4ax DOT com> <26226433 DOT post AT talk DOT nabble DOT com> <26226546 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <26226546.post@talk.nabble.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019