RE: Bug for network users running scripts?
RE: Bug for network users running scripts?
- Subject: RE: Bug for network users running scripts?
- From: "Wadson, David" <email@hidden>
- Date: Fri, 5 Nov 2004 17:33:51 -0500
Well, at least I know I'm not going crazy. :-)
Unfortunately, It seems to occur with not just the home directory, but also
for the mounted fileservers and the local drive. It seems that the problem
goes deeper than merely getting confused over the file path to the user's
home directory. My first thought was that the Applescript commands are
executed by a different user ID that doesn't have enough permissions to
access Finder commands. But my scripts for Quark all seemed to work fine,
including writing a Postscript file to a server volume.
Dave
> ----------
> From: Adam K.Wuellner
> Sent: Friday, November 5, 2004 4:13 PM
> To: Wadson, David
> Cc: 'email@hidden'
> Subject: Re: Bug for network users running scripts?
>
> On Nov 5, 2004, at 2:17 PM, Wadson, David wrote:
>
> > [...] However, I've
> > found that some basic scripts won't run properly while logged into a
> > workstation using network account. For example:
> >
> > tell application "Finder"
> > return file type of [insert file path here]
> > end tell
> >
> > Finder returns an error -1728 - "Can't get file type of [file path]
> > into a
> > string.
>
> Yeah, it's a bug.
>
> This describes the problem, which also occurs if FileVault is in use on
> a local account:
> <http://homepage.mac.com/mdouma46/bugs/bugs.html>
> I know it doesn't describe the exact situation you have, but I ran into
> what you ran into a while back and asked the page's author if he
> thought I was seeing the same problem. We think it's just another case
> of the same bug.
>
> You can get the file references to work if you mount the user's home
> folder as a volume. It seems to be the only way. Otherwise, I think
> we're SOL for the moment.
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden