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

Re: crob chgrp



On Tue, Jun 12, 2007 at 06:00:24PM -0600, Bob Proulx wrote:
> Chris Robinson wrote:
> > I am trying to run the folloing in woody using cron so my cron
> > 
> > 2,12,22,32,42,52 * * * * /path to macro
> > 
> > #!/bin/sh                                                              
> > #                                                                      
> > #                                                                      
> > chgrp -R nogroup /usr/local/apache2/www/foodmanagementsystems.com/gary 
> 
> That triggers alarm bells with me!  That you want to do that causes me
> to wonder why you want to do that.  This sounds like a bad idea to
> me.  There will always be a window of time when a new file could be
> the wrong group.  It always changes all of the files.  Danger Will
> Robinson, danger!
> 
I agree.  That should really be handled using famd.

Regards,

-Roberto

-- 
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com

Attachment: signature.asc
Description: Digital signature


Reply to: