xcode applescript apps won't run with limited user?
xcode applescript apps won't run with limited user?
- Subject: xcode applescript apps won't run with limited user?
- From: "Devon Jacobs" <email@hidden>
- Date: Sun, 11 Jan 2004 10:44:35 -0500
- Organization: CVES
Hello all,
I'm relatively new to the whole xcode/cocoa scene... (spent alot of my early
years dealing with BASIC and batchfiles in [cringe] DOS), but can muddle my
way through applescript pretty well. I'm currently having an issue with
running an application under panther with the limited user function (use
only these apps)...
I am trying to lock down some macs in a lab, and have written a simple
applescript login application with a GUI (from interface builder) using
xcode to automatically mount student folders on our 'server' and perform a
couple of other routine tasks.
Here's what *should* happen:
The student account does an auto-login, and then the app should run as a
startup item, take the name and password info, mount the student folder on
the server, perform it's maintenance tasks, and close. All the bugs have
been worked out and it works great under either the admin or student account
with ANY account settings (including simple finder, and limited user) until
I try to apply the limited access 'use only these applications' option to
the account.
Here's what actually happens:
When you select the 'use only these applications' feature for limiting the
student user, for some reason the login app I built will NOT stay selected
after leaving the prefs pane, and when the student user is logged in, I get
the 'you don't have permission to use this application..." message.
I've tried installing the app in the applications folder, and the student
home folder, and the /users/student/library/managed items/my applications
folder too (not all at the same time)... I've tried installing it as the
student with admin rights and then limiting the account later, I've tried
installing it as the admin account, and even root, I've manually given it
rwx permissions, (chmod), I've packaged it for use with the OSX installer
(package maker) and installed it that way, I've changed owner and group to
about everything under the sun, including the system/admin settings all the
rest of the standard apps have, I've nuked and recreated the student user
about 100 times. nothing works.
I'm pretty sure it's one silly permission bit or preference than needs to be
changed or something equally obvious (isn't it always?) but I'll be jiggered
if I can find it!
*** One last observation: while simple script apps made with script editor
and saved as an application will run with no issues, script based apps built
with xcode (to make use of the interface builder) will not. even the silly
'hello world.app' sample script from the ADC tutorial won't run under a
limited user when using the 'use only these applications' feature .
anyone with a solution??? I need to get these things up and running SOON!
if this has already been addressed here, can you point me to the posts? I'm
still plowing through the archives, but haven't found an answer yet....
thanks
-Devon
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.560 / Virus Database: 352 - Release Date: 1/8/2004
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.