What periodic process strips executable permissions?

Chuck Swiger cswiger at mac.com
Mon Feb 25 21:42:37 UTC 2008

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.  :-)


More information about the freebsd-questions mailing list