From owner-freebsd-questions@freebsd.org Mon Jul 20 12:20:53 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4ECB9A6D72 for ; Mon, 20 Jul 2015 12:20:53 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 640651CEB for ; Mon, 20 Jul 2015 12:20:53 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by wgmn9 with SMTP id n9so129216727wgm.0 for ; Mon, 20 Jul 2015 05:20:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=tQp0hfepf/S90zm1oZcQC37bCFE1Ie7iG6hzZrDUERU=; b=k3rdbiRgwwvShK/DXcJHgeLCUIPr0PA7u8hoYjMy/NHNfdUBzKQcuWPtcPdJ2l6H8W 3FLxKHon16ZURf9Jw4aMldIhLQYLJSceMjXmCyX692D2uAOGq/aQPvaOd3KEvxzr56S7 DxWANwFPvDF0FKV3/ASYsN5jjnMHD7qBNwW6yrXeD6wXsE3rFXdYhJbByZlqDN1r3PPf JTduj4T2UOAcp09nVKcuUliIlFE76KUq4mWBlSZOvFdOyOxEwQ+GN5LiHaLw6Fgzm9k8 PNk5EXLzhBPp85dJE4oEB9du0Ala6hpUSMzL+fiNO87zI6g3dHmASc+KsTW5bqYwpowk b7yg== X-Received: by 10.181.13.109 with SMTP id ex13mr18477230wid.39.1437394851859; Mon, 20 Jul 2015 05:20:51 -0700 (PDT) Received: from gumby.homeunix.com (5ec1f672.skybroadband.com. [94.193.246.114]) by smtp.gmail.com with ESMTPSA id l6sm11549116wib.18.2015.07.20.05.20.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jul 2015 05:20:50 -0700 (PDT) Date: Mon, 20 Jul 2015 13:20:47 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: limiting find(1) in /etc/periodic scripts Message-ID: <20150720132047.360cc9e8@gumby.homeunix.com> In-Reply-To: <201507201039.t6KAdwCU014203@sdf.org> References: <201507200910.t6K9A9J6007857@sdf.org> <20150720114036.b83e5116.freebsd@edvax.de> <201507201039.t6KAdwCU014203@sdf.org> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2015 12:20:53 -0000 On Mon, 20 Jul 2015 05:39:58 -0500 Scott Bennett wrote: > Well, that's not a worry because the locate stuff has only > created empty locate databases since sometime in FreeBSD 6. I've > tried several times without success to get it to work It works for me with the periodic script. You might have run into the problem I had when I tried to build a database for my home directory files. I don't know why, but it seems that find is sensitive to permissions on underlying mount-points. I had extra partitions mounted under ~/, and the permissions were set-up to prevent anything writing under or traversing the mount-points when nothing was mounted. This caused find to terminate with an error. I'm wondering if you've done something similar - /tmp is the most likely candidate. > and to get it to run as "nobody". It does run as nobody.