[netatalk-admins] Netatalk and AppleScript - Newbie Questions


Subject: [netatalk-admins] Netatalk and AppleScript - Newbie Questions
From: Graham Johnson (ccaaggj@ucl.ac.uk)
Date: Wed Jul 23 1997 - 05:56:39 EDT


I am trying to create a small AppleScript application to run off a
read-only remote volume. This application seems to want to update
itself on exit for some reason (presumably a global variable I can't
see - I am a novice at AppleScript as well). Up until yesterday I
was using CAP which gave error -36 if the application was locked or
the volume was read-only guest access. This seemed rather an over
the top error number to return. As I have never been convinced by
CAP I thought I'd give netatalk a go (I am using 1.4b2 on Solaris
2.5.1) as it seems to have a better approach all round. Indeed I no
longer have any problems with locked applications on writable
volumes. However with the read-only guest access I get an error -50
(parameter error) returned and in the logs I see messages like:

afpd[11377]: afp_setforkparams: ad_rtruncate: Bad file number

Could someone enlighten me as to what exactly the above means in
plainer terms, and perhaps if there is a solution to my problem
staring me in the face.

All help and advice gratefully received.

Graham

--
--------------------------------------------------------
 Graham Johnson     | e-mail: g.johnson@ucl.ac.uk
 Systems Programmer |    tel: +44 (0)171-387 7050 x2829
 The Library, UCL   |    fax: +44 (0)171-388 5406
--------------------------------------------------------
c/o Systems Integration, Information Systems Division,
    University College London, Gower St, London WC1E 6BT



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:25:46 EST