[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Cron Problem:



You said:
Here's my cron entry:


*/5 * * * *    root    /home/sites/site4/users  chmod -R 777

I get an email that states:
/bin/sh: /home/sites/site4/users: is a directory

Can I not perform this command on a directory?  If not, how come?

You're getting that error because you're trying to execute a directory. Your crontab entry should (presumably) be:

*/5 * * * *    root     chmod -R 777 /home/sites/site4/users

if changing the permissions on /home/sites/site4/users and all directories below it is what you're trying to do.

Simes.

--
Simon Brown <simes@xxxxxxxxx> - http://www.amdev.demon.co.uk/

Michael Fish in "making filthy jokes about steam-driven appliances" scandal!