Date: Mon, 25 Feb 2008 13:42:35 -0800 From: Chuck Swiger <cswiger@mac.com> To: Shawn Barnhart <swb@grasslake.net> Cc: freebsd-questions@freebsd.org Subject: Re: What periodic process strips executable permissions? Message-ID: <4AA04451-4F78-4E49-B083-CB6048066915@mac.com> In-Reply-To: <47C3308B.1010405@grasslake.net> References: <47C3308B.1010405@grasslake.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 25, 2008, at 1:18 PM, Shawn Barnhart wrote: > 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. There's nothing which comes with FreeBSD which would make such a change in permissions. Check whether your other cron jobs or anything customized with the periodic scripts are doing stuff you don't expect. :-) -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AA04451-4F78-4E49-B083-CB6048066915>