From owner-freebsd-questions@FreeBSD.ORG Mon Feb 25 21:18:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2B6116A403 for ; Mon, 25 Feb 2008 21:18:18 +0000 (UTC) (envelope-from swb@grasslake.net) Received: from accord.grasslake.net (accord.grasslake.net [209.98.56.21]) by mx1.freebsd.org (Postfix) with ESMTP id A5DA613C455 for ; Mon, 25 Feb 2008 21:18:18 +0000 (UTC) (envelope-from swb@grasslake.net) Received: from [0.0.0.0] (honda.grasslake.net [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: swb) by accord.grasslake.net (Postfix) with ESMTP id 9B64AFD031 for ; Mon, 25 Feb 2008 15:18:16 -0600 (CST) Message-ID: <47C3308B.1010405@grasslake.net> Date: Mon, 25 Feb 2008 15:18:03 -0600 From: Shawn Barnhart Organization: Managed Chaos User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: What periodic process strips executable permissions? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 21:18:18 -0000 I wrote a shell script to email me the output of ntpdc -p and put it in my crontab. It works for a week, and at some point over the weekend my script loses its executable permissions for me (user) but not for group or other. Is there a FreeBSD periodic job that runs periodically and removes executable permissions? I'm pretty sure I didn't make it SUID. It was rwxr-xr-x and there are other scripts in the same directory rwxr--r-- that don't lose their permissions. I ran through the scripts in /etc/periodic but didn't see anything that made sense as a culprit.