From owner-freebsd-fs@FreeBSD.ORG Thu Nov 12 14:42:50 2009 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE06D106566B for ; Thu, 12 Nov 2009 14:42:50 +0000 (UTC) (envelope-from matthias.andree@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 07D088FC1D for ; Thu, 12 Nov 2009 14:42:49 +0000 (UTC) Received: (qmail invoked by alias); 12 Nov 2009 14:16:09 -0000 Received: from balu.cs.uni-paderborn.de (EHLO balu.cs.uni-paderborn.de) [131.234.21.37] by mail.gmx.net (mp021) with SMTP; 12 Nov 2009 15:16:09 +0100 X-Authenticated: #428038 X-Provags-ID: V01U2FsdGVkX1/iJwQJXLPiVxQ5BfarlpYCy4+YaxPaFsvlc06rhn GI7c+9p0Es0kdm Received: from localhost ([127.0.0.1] helo=balu.cs.uni-paderborn.de) by balu.cs.uni-paderborn.de with esmtp (Exim 4.69) (envelope-from ) id KT02AW-0003F0-PK; Thu, 12 Nov 2009 15:16:08 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Pawel Jakub Dawidek" , freebsd-current@freebsd.org References: <200911102227.nAAMRXTf073603@svn.freebsd.org> <20091110224524.GC3194@garage.freebsd.pl> Date: Thu, 12 Nov 2009 15:16:08 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: "Matthias Andree" Organization: Message-ID: In-Reply-To: <20091110224524.GC3194@garage.freebsd.pl> User-Agent: Opera Mail/10.01 (Win32) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.64 Cc: freebsd-fs@freebsd.org Subject: Re: HEADS UP: Important bug fix in ZFS replay code! X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Nov 2009 14:42:50 -0000 Am 10.11.2009, 23:45 Uhr, schrieb Pawel Jakub Dawidek : > You can locate such files with the following command: > > # find / -perm -7777 -print0 | xargs -0 ls -ld Use ls -ldb to be on the safe side (control characters!). So how about these refinements: find / -perm -7777 -exec ls -ldb '{}' + find / -perm -7777 -ls (not sure what that does with escapes) > You can locate and fix such files with the following command: > > # find / -perm -7777 -print0 | xargs -0 chmod a-s,o-w,-t find / -perm -7777 -exec chmod a-s,o-w,-t '{}' + -- Matthias Andree