Re: Blacklisted Shell Script?
Mike <[email protected]>
| Newsgroups | gmane.user-groups.linux.ottawa.general |
|---|---|
| Message-ID | <[email protected]> |
On July 2, 2009, Dave wrote: > A few days ago a bash shell script that had been working reliably for > months, suddenly quit working. The script has not been changed. > > I see no error messages either from cron, or from manual invocation of > the script. It's as if I hadn't invoked it. > > I wrote a trivial test script that works both manually, or via cron > (invoked via my crontab entry). But my desired script produces nothing. > > Where do I look to see a hint? Nothing in /var/log/cron or > /var/log/messages suggests any problem. > > Given that a shell script will work as demonstrated by my test script > (both from a terminal or via cron), why did my desired script suddenly > quit working, silently? Has my OS blacklisted it? Maybe a recent update introduced a script with same name, or changes permissions on it. One of the securty scripts used to disable setuid programs. Does your trivial script have the same name as the blacklisted one? What does ` which blacklisted script ` return What are the permissions on the blacklisted script ls - l blacklisted script -- Collector of vintage computers http://www.ncf.ca/~ba600 -- OCLUG general discussion list [email protected] http://oclug.on.ca/mailman/listinfo/oclug