This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cron script can awk wget file but not head/cat it


At 06:11 PM 9/9/2005, you wrote:

>Thank you for the very prompt response.
>
>If I assume that it's the System that's running the script via the cron,
>isn't System the owner of the file that results from wget? Or do wgetted
>files belong to someone else? And do Awk and Cat require different
>permission levels (presumably awk is more lax than cat because even
>though they were doing the same thing, cat couldn't see the file
>contents whereas awk could). Besides, from my ls in my previous mail, it
>appears to me that user-group-other all have read permissions to all the
>files so it shouldn't even matter?
>
>Do you have any recommendations on how I can change my script or some
>setting to fix the problem? I could change all my cat and head
>statements to awk statements, but that seems more like treating the
>symptom rather than the disease. 


I think it's worthwhile to consider Brian's comments before making any 
changes to your scripts...



--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]