[Casper] Quickadd Failing

Ryan Harter rharter at uwsp.edu
Tue Jan 13 11:21:46 PST 2009


chmod should work just fine.  I run a script to install a different  
pkg that is stored on a windows machine on some clients and have it  
run chmod +x on the scripts just incase.

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

On Jan 13, 2009, at 1:19 PM, Ron Prue wrote:

> Miles-
>
> The package was created with an admin account originally.
>
> Ryan-
>
> The permissions are indeed not correct.  No allowance for an execute  
> command on any of the contents.  Not sure how this ever happened as  
> I have used this accross 26 machines in the past 2 months with no  
> problem until now.  However we did do a server rebuild recently  
> which may have reset the permission on the file.
>
> From your example it looks as if it should be rwx for users, group  
> and other.  Any reason I can't just use the 'chmod' command and  
> correct this?
>
>
> Ron Prue
> Technical Services
> Noah Corporation
> 435.214.2927
> ron.prue at mynoahs.com
>
>
> <Noahs Logo.png>
>
>
>
> On Jan 13, 2009, at 12:00 PM, Ryan Harter wrote:
>
>> Is your QuickAdd.pkg making it's way across a Windows share on it's  
>> way to your client?  Or are you copying it using scp?
>>
>> I've seen some inconsistent issues with either of these methods  
>> where some of the special data on the file will get stripped and  
>> cause the postflight script to no longer be flagged as executable.   
>> I would suggest zipping (right click > "Compress") or tarring (tar  
>> cpvf QuickAdd.pkg) the file before you transfer to be sure.
>>
>> Also, on the client it is failing on, you can check that the  
>> postflight script is executable by entering the following into a  
>> terminal:
>>
>> ls -l /path/to/QuickAdd.pkg/Content/Resources/
>>
>> and look for  the 'x' in the left hand colomn.
>>
>> -rwxrwxrwx  1 rharter  UWSPDOM\domain users      97 Nov 18 17:34  
>> postflight
>>
>> Hope it helps.
>>
>> Ryan Harter
>> UW - Stevens Point
>> Workstation Developer
>> 715.346.2716
>> Ryan.Harter at uwsp.edu
>>
>> On Jan 13, 2009, at 12:46 PM, Ron Prue wrote:
>>
>>> Hi all,
>>>
>>> I am seeing an issue with my quickadd.pkg failing to run a "post- 
>>> flight script" on some machines.  It is not adding the machine to  
>>> my JSS and I have repaired permissions and run it again with the  
>>> same result.
>>>
>>> Any ideas?
>>>
>>>
>>>
>>>
>>> Ron Prue
>>> Technical Services
>>> Noah Corporation
>>> 435.214.2927
>>> ron.prue at mynoahs.com
>>>
>>>
>>> <Noahs Logo.png>
>>>
>>>
>>>
>>> <ATT00001.txt>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.jamfsoftware.com/pipermail/casper/attachments/20090113/905a36fa/attachment.html 


More information about the Casper mailing list