Script keeps deleting

jarednichols
Honored Contributor

Hi All-

I have a script that I run for post-Office installation set in my office self service policy. Every few days, when I open Casper Admin, it's been deleted and appears in red "missing." If I go to the CasperShare mount in the scripts folder, sure enough, it's gone. If I replace it, it's fine for a few days. I've repaired permissions on the share using the JSS utility but no luck.

Any ideas?

Thanks!
--
Jared Nichols
ISD Infrastructure and Operations - Desktop Engineering
MIT Lincoln Laboratory
244 Wood St.
Lexington, MA 02420-9108
(781) 981-5500

5 REPLIES 5

milesleacy
Valued Contributor

Just to cover the "is it plugged in" level of troubleshooting... are you the
only person who has the password to an account that can delete items from
Casper Admin, or directly from the CasperShare?

tlarkin
Honored Contributor

I assume you have it hosted on an OS X server? Are the ACLs and
permissions for your read only and read/write account set properly on
the server side? I have never seen a script "delete itself" before. Any other data on that casper share that is coming up missing?

jarednichols
Honored Contributor

Yes, it's on OS X Server, Leopard. On the CasperShare sharepoint, there's currently nobody in the ACL and the POSIX read "casperadmin" as having ownership, "staff" group as read only and others having read only. I'm the only one with access to the server and the only interaction that I do with the CasperShare sharepoint is through the Caser Admin app. Nothing else is going missing.

Currently, that script is the only script that I have, but I'm about to add another. I'll see if it happens to that one as well.

Thanks

j

tlarkin
Honored Contributor

Jared

For simplicities sake, I recommend you keep the server administrator
owner of every casper share item and then create ACLs for casper admin
and casper install. That way every time you sync down packages and
scripts you can simply populate the ownership and ACLs on down to ensure
they are proper. I also create two local accounts on each casper
server, one casper install and one casper admin, that way I only have
one account that can read/write, and one account that can read only.

I guess it is possible if the account that is reading the script is also
writing to it, by deleting it afterward.

When you push the script out manually through casper remote does it
delete itself?



Thomas Larkin
TIS Department
KCKPS USD500
tlarki at kckps.org
blackberry: 913-449-7589
office: 913-627-0351

Not applicable

Have you changed your master file server recently, or could you be adding the script to a server that's not your master. We had issues when we changed our master where it would sync to another server and delete anything new on it because it wasn't syncing the right way.

Ryan Harter
UW - Stevens Point
Workstation Developer
715.346.2716
Ryan.Harter at uwsp.edu