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

Re: cron Update



On Mit, 03 Sep 2003, Joerg Rieger wrote:
>     cd $crondir/crontabs
>     for ct in * ; do
>       chown $ct:crontab $ct
>     done
> 
> Ich habe dort keine crontab Dateien, ausserdem wird der Dateiname als 
> user verwendet, oder irre ich mich da ?	

Das stimmt schon, weil ja die files dort nach den Benutzern benannt
sind, also würde das stimmen. Nur fehlt ein 
	set noglob 
oder so ähnlich, wenn nämlich KEIN file in$crondir/crontabs ist, dann
wird
	chown *:crontab *
aufgerufen (und zwar literally, erweitert schon zu * weil keine files
existieren), was natürlich nicht funktioniert!

Ich habe die Zeile auskommentiert, in der nächsten Version sicher
gefixt. 

Herzliche Grüße

Norbert

-------------------------------------------------------------------------------
Norbert Preining <preining AT logic DOT at>         Technische Universität Wien
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
His eyes seemed to be popping out of his head. He wasn't
certain if this was because they were trying to see more
clearly, or if they simply wanted to leave at this point.
                 --- Arthur trying to see who had diverted him from going to
                 --- a party.
                 --- Douglas Adams, The Hitchhikers Guide to the Galaxy



Reply to: