No subject


Fri Jan 2 08:38:22 PST 2009


other.  Any reason I can't just use the 'chmod' command and correct this? =
=20





Ron Prue=20

Technical Services=20

Noah Corporation=20

435.214.2927=20

ron.prue at mynoahs.com=20






<Noahs Logo.png>=20







On Jan 13, 2009, at 12:00 PM, Ryan Harter wrote:=20




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?=20



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.=20



Also, on the client it is failing on, you can check that the postflight =
script is executable by entering the following into a terminal:=20



ls -l /path/to/QuickAdd.pkg/Content/Resources/=20



and look for  the 'x' in the left hand colomn.=20



-rwxrwxrwx  1 rharter  UWSPDOM\domain users      97 Nov 18 17:34 postflight=
=20



Hope it helps.=20


Ryan Harter=20

UW - Stevens Point=20

Workstation Developer=20

715.346.2716=20


Ryan.Harter at uwsp.edu=20



On Jan 13, 2009, at 12:46 PM, Ron Prue wrote:=20




Hi all,=20



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.  =20



Any ideas?=20








Ron Prue=20

Technical Services=20

Noah Corporation=20

435.214.2927=20

ron.prue at mynoahs.com=20






<Noahs Logo.png>=20







<ATT00001.txt>=20








--=__Part604848C1.0__=
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Description: HTML

<html>
  <head>
    <style type=3D"text/css">
      <!--
        body { margin-top: 4px; margin-bottom: 1px; line-height: normal; =
font-variant: normal; margin-right: 4px; margin-left: 4px }
        p { margin-top: 0; margin-bottom: 0 }
      -->
    </style>
   =20
  </head>
  <body>
    <p style=3D"margin-bottom: 0; margin-top: 0">
      <font face=3D"Lucida Grande" size=3D"3">Are &nbsp;you having it =
create an managed account or modifying an existing account&#63; &nbsp;If =
the account doesn&#39;t exist you will need to create it.</font><br><br>&gt=
;&gt;&gt; Ryan Harter &lt;rharter at uwsp.edu&gt; 01/13/09 1:21 PM &gt;&gt;&gt=
;<br>chmod should work just fine.&nbsp;&#160;I run a script to install a =
different pkg that is stored on a windows machine on some clients and have =
it run chmod &#43;x on the scripts just incase.<br>    </p>
    <div>
      <div style=3D"font-variant: normal; white-space: normal; font-style: =
normal; word-spacing: 0px; text-transform: none; font-family: Helvetica; =
font-size: 12px; text-align: auto; color: rgb(0, 0, 0); text-indent: 0px; =
line-height: normal; font-weight: normal; letter-spacing: normal" =
class=3D"apple-style-span">
        <div style=3D"margin-top: 0px; margin-bottom: 0px; margin-right: =
0px; margin-left: 0px">
          <p style=3D"margin-bottom: 0; margin-top: 0">
            <b style=3D"font-size: 14px; color: rgb(135, 118, 179); =
font-weight: bold"><font color=3D"#8776B3" size=3D"4" class=3D"apple-style-=
span"><br style=3D"color: rgb(135, 118, 179); font-size: 14px; font-weight:=
 bold" class=3D"apple-interchange-newline">
            Ryan Harter</font></b>          </p>
        </div>
        <div style=3D"margin-top: 0px; margin-bottom: 0px; margin-right: =
0px; margin-left: 0px">
          <p style=3D"margin-bottom: 0; margin-top: 0">
            <font color=3D"#8776B3" size=3D"2" class=3D"apple-style-span">U=
W - Stevens Point</font>          </p>
        </div>
        <div style=3D"margin-top: 0px; margin-bottom: 0px; margin-right: =
0px; margin-left: 0px">
          <p style=3D"margin-bottom: 0; margin-top: 0">
            <font color=3D"#8776B3" size=3D"2" class=3D"apple-style-span">W=
orkstation Developer</font>          </p>
        </div>
        <div style=3D"margin-top: 0px; margin-bottom: 0px; margin-right: =
0px; margin-left: 0px">
          <p style=3D"margin-bottom: 0; margin-top: 0">
            <font color=3D"#8776B3" size=3D"2" class=3D"apple-style-span">7=
15.346.2716</font>          </p>
        </div>
        <div style=3D"margin-top: 0px; margin-bottom: 0px; margin-right: =
0px; margin-left: 0px">
<br>           =20
          <div style=3D"color: rgb(0, 0, 238)" class=3D"apple-style-span">
            <p style=3D"margin-bottom: 0; margin-top: 0">
              Ryan.Harter at uwsp.edu            </p>
          </div>
        </div>
      </div>
    </div>
    <p style=3D"margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <div>
      <div>
        <p style=3D"margin-bottom: 0; margin-top: 0">
          On Jan 13&#44; 2009&#44; at 1:19 PM&#44; Ron Prue wrote:        =
</p>
      </div>
      <p style=3D"margin-bottom: 0; margin-top: 0">
        <br class=3D"apple-interchange-newline">
              </p>
      <blockquote type=3D"cite">
        <div>
          <p style=3D"margin-bottom: 0; margin-top: 0">
            Miles-          </p>
          <div>
            <p style=3D"margin-bottom: 0; margin-top: 0">
              <br>
                          </p>
          </div>
          <div>
            <p style=3D"margin-bottom: 0; margin-top: 0">
              The package was created with an admin account originally.    =
        </p>
          </div>
          <div>
            <p style=3D"margin-bottom: 0; margin-top: 0">
              <br>
                          </p>
          </div>
          <div>
            <p style=3D"margin-bottom: 0; margin-top: 0">
              Ryan-            </p>
          </div>
          <div>
            <p style=3D"margin-bottom: 0; margin-top: 0">
              <br>
                          </p>
          </div>
          <div>
            <p style=3D"margin-bottom: 0; margin-top: 0">
              The permissions are indeed not correct.&nbsp;&#160;No =
allowance for an execute command on any of the contents.&nbsp;&#160;Not =
sure how this ever happened as I have used this accross 26 machines in the =
past 2 months with no problem until now.&nbsp;&#160;However we did do a =
server rebuild recently which may have reset the permission on the file.   =
         </p>
            <div>
              <p style=3D"margin-bottom: 0; margin-top: 0">
                <br>
                              </p>
            </div>
            <div>
              <p style=3D"margin-bottom: 0; margin-top: 0">
                From your example it looks as if it should be rwx for =
users&#44; group and other.&nbsp;&#160;Any reason I can&#39;t just use the =
&#39;chmod&#39; command and correct this&#63;&#160;              </p>
            </div>
            <div>
              <p style=3D"margin-bottom: 0; margin-top: 0">
                <br>
                              </p>
            </div>
            <div>
              <p style=3D"margin-bottom: 0; margin-top: 0">
                <br>
                              </p>
              <div apple-content-edited=3D"true">
                <div style=3D"font-variant: normal; white-space: normal; =
font-style: normal; word-spacing: 0px; text-transform: none; font-family: =
Helvetica; font-size: 12px; text-align: auto; color: rgb(0, 0, 0); =
text-indent: 0px; line-height: normal; font-weight: bold; letter-spacing: =
normal" class=3D"apple-style-span">
                  <div style=3D"font-variant: normal; white-space: normal; =
font-style: normal; word-spacing: 0px; text-transform: none; font-family: =
Helvetica; font-size: 12px; color: rgb(0, 0, 0); text-indent: 0px; =
line-height: normal; font-weight: normal; letter-spacing: normal" =
class=3D"apple-style-span">
                    <div style=3D"font-variant: normal; white-space: =
normal; font-style: normal; word-spacing: 0px; text-transform: none; =
font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0); text-indent: =
0px; line-height: normal; font-weight: normal; letter-spacing: normal" =
class=3D"apple-style-span">
                      <div>
                        <p style=3D"margin-bottom: 0; margin-top: 0">
                          <b>Ron Prue</b>                        </p>
                      </div>
                      <div>
                        <p style=3D"margin-bottom: 0; margin-top: 0">
                          <b>Technical Services</b>                        =
</p>
                      </div>
                      <div>
                        <p style=3D"margin-bottom: 0; margin-top: 0">
                          <b>Noah Corporation</b>                        =
</p>
                      </div>
                      <div>
                        <p style=3D"margin-bottom: 0; margin-top: 0">
                          <b>435.214.2927</b>                        </p>
                      </div>
                      <div>
                        <p style=3D"margin-bottom: 0; margin-top: 0">
                          <b><a href=3D"mailto:ron.prue at mynoahs.com">ron.pr=
ue at mynoahs.com</a></b>                        </p>
                      </div>
                      <div>
                        <p style=3D"margin-bottom: 0; margin-top: 0">
                          <b><br style=3D"font-weight: bold">
                          </b>                        </p>
                      </div>
                      <div>
                        <p style=3D"margin-bottom: 0; margin-top: 0">
                          <b><br style=3D"font-weight: bold" class=3D"apple=
-interchange-newline">
                          </b>                        </p>
                        <div>
<br>                           =20
                        </div>
                        <div>
                          <div>
                            <p style=3D"margin-bottom: 0; margin-top: 0">
                              &lt;Noahs Logo.png&gt;                       =
     </p>
                          </div>
                        </div>
                        <div style=3D"font-variant: normal; white-space: =
normal; font-style: normal; word-spacing: 0px; text-transform: none; =
font-family: Helvetica; font-size: 12px; text-align: auto; color: rgb(0, =
0, 0); text-indent: 0px; line-height: normal; font-weight: bold; letter-spa=
cing: normal" class=3D"apple-style-span">
                          <div style=3D"font-variant: normal; white-space: =
normal; font-style: normal; word-spacing: 0px; text-transform: none; =
font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0); text-indent: =
0px; line-height: normal; font-weight: bold; letter-spacing: normal" =
class=3D"apple-style-span">
                            <p style=3D"margin-bottom: 0; margin-top: 0">
                              <br class=3D"apple-interchange-newline">
                              <br class=3D"apple-interchange-newline">
                              <br class=3D"apple-interchange-newline">
                                                          </p>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
              <p style=3D"margin-bottom: 0; margin-top: 0">
                <br>
                              </p>
              <div>
                <div>
                  <p style=3D"margin-bottom: 0; margin-top: 0">
                    On Jan 13&#44; 2009&#44; at 12:00 PM&#44; Ryan Harter =
wrote:                  </p>
                </div>
                <p style=3D"margin-bottom: 0; margin-top: 0">
                  <br class=3D"apple-interchange-newline">
                                  </p>
                <blockquote type=3D"cite">
                  <div>
                    <p style=3D"margin-bottom: 0; margin-top: 0">
                      Is your QuickAdd.pkg making it&#39;s way&#160;across&=
#160;a Windows share on it&#39;s way to your client&#63;&nbsp;&#160;Or are =
you copying it using scp&#63;                    </p>
                    <div>
                      <p style=3D"margin-bottom: 0; margin-top: 0">
                        <br>
                                              </p>
                    </div>
                    <div>
                      <p style=3D"margin-bottom: 0; margin-top: 0">
                        I&#39;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.&nbsp;&#160;I would suggest zipping &#40;right click &gt; =
&quot;Compress&quot;&#41; or tarring &#40;tar cpvf QuickAdd.pkg&#41; the =
file before you transfer to be sure.                      </p>
                    </div>
                    <div>
                      <p style=3D"margin-bottom: 0; margin-top: 0">
                        <br>
                                              </p>
                    </div>
                    <div>
                      <p style=3D"margin-bottom: 0; margin-top: 0">
                        Also&#44; on the client it is failing on&#44; you =
can check that the postflight script is executable by entering the =
following into a terminal:                      </p>
                    </div>
                    <div>
                      <p style=3D"margin-bottom: 0; margin-top: 0">
                        <br>
                                              </p>
                    </div>
                    <div>
                      <p style=3D"margin-bottom: 0; margin-top: 0">
                        ls -l /path/to/QuickAdd.pkg/Content/Resources/     =
                 </p>
                    </div>
                    <div>
                      <p style=3D"margin-bottom: 0; margin-top: 0">
                        <br>
                                              </p>
                    </div>
                    <div>
                      <p style=3D"margin-bottom: 0; margin-top: 0">
                        and look for&nbsp;&#160;the &#39;x&#39; in the =
left hand colomn.                      </p>
                    </div>
                    <div>
                      <p style=3D"margin-bottom: 0; margin-top: 0">
                        <br>
                                              </p>
                    </div>
                    <div>
                      <div>
                        <p style=3D"margin-bottom: 0; margin-top: 0">
                          -rwxrwxrwx&nbsp;&#160;1 rharter&nbsp;&#160;UWSPDO=
M&#92;domain users&nbsp;&#160;&nbsp;&#160;&nbsp;&#160;97 Nov 18 17:34 =
postflight                        </p>
                      </div>
                      <div>
                        <p style=3D"margin-bottom: 0; margin-top: 0">
                          <br>
                                                  </p>
                      </div>
                      <div>
                        <p style=3D"margin-bottom: 0; margin-top: 0">
                          Hope it helps.                        </p>
                      </div>
                      <div>
                        <div style=3D"font-variant: normal; white-space: =
normal; font-style: normal; word-spacing: 0px; text-transform: none; =
font-family: Helvetica; font-size: 12px; text-align: auto; color: rgb(0, =
0, 0); text-indent: 0px; line-height: normal; font-weight: normal; =
letter-spacing: normal" class=3D"apple-style-span">
                          <div style=3D"margin-top: 0px; margin-bottom: =
0px; margin-right: 0px; margin-left: 0px">
                            <p style=3D"margin-bottom: 0; margin-top: 0">
                              <b style=3D"font-size: 14px; color: rgb(135, =
118, 179); font-weight: bold"><font color=3D"#8776B3" size=3D"4" class=3D"a=
pple-style-span"><br style=3D"color: rgb(135, 118, 179); font-size: 14px; =
font-weight: bold" class=3D"apple-interchange-newline">
                              Ryan Harter</font></b>                       =
     </p>
                          </div>
                          <div style=3D"margin-top: 0px; margin-bottom: =
0px; margin-right: 0px; margin-left: 0px">
                            <p style=3D"margin-bottom: 0; margin-top: 0">
                              <font color=3D"#8776B3" size=3D"2" class=3D"a=
pple-style-span">UW - Stevens Point</font>                            </p>
                          </div>
                          <div style=3D"margin-top: 0px; margin-bottom: =
0px; margin-right: 0px; margin-left: 0px">
                            <p style=3D"margin-bottom: 0; margin-top: 0">
                              <font color=3D"#8776B3" size=3D"2" class=3D"a=
pple-style-span">Workstation Developer</font>                            =
</p>
                          </div>
                          <div style=3D"margin-top: 0px; margin-bottom: =
0px; margin-right: 0px; margin-left: 0px">
                            <p style=3D"margin-bottom: 0; margin-top: 0">
                              <font color=3D"#8776B3" size=3D"2" class=3D"a=
pple-style-span">715.346.2716</font>                            </p>
                          </div>
                          <div style=3D"margin-top: 0px; margin-bottom: =
0px; margin-right: 0px; margin-left: 0px">
<br>                             =20
                            <div style=3D"color: rgb(0, 0, 238)" class=3D"a=
pple-style-span">
                              <p style=3D"margin-bottom: 0; margin-top: =
0">
                                Ryan.Harter at uwsp.edu                       =
       </p>
                            </div>
                          </div>
                        </div>
                      </div>
                      <p style=3D"margin-bottom: 0; margin-top: 0">
                        <br>
                                              </p>
                      <div>
                        <div>
                          <p style=3D"margin-bottom: 0; margin-top: 0">
                            On Jan 13&#44; 2009&#44; at 12:46 PM&#44; Ron =
Prue wrote:                          </p>
                        </div>
                        <p style=3D"margin-bottom: 0; margin-top: 0">
                          <br class=3D"apple-interchange-newline">
                                                  </p>
                        <blockquote type=3D"cite">
                          <div>
                            <p style=3D"margin-bottom: 0; margin-top: 0">
                              Hi all&#44;                            </p>
                            <div>
                              <p style=3D"margin-bottom: 0; margin-top: =
0">
                                <br>
                                                              </p>
                            </div>
                            <div>
                              <p style=3D"margin-bottom: 0; margin-top: =
0">
                                I am seeing an issue with my quickadd.pkg =
failing to run a &quot;post-flight script&quot; on some machines.&nbsp;&#16=
0;It is not adding the machine to my JSS and I have repaired permissions =
and run it again with the same result.&nbsp;&#160;                         =
     </p>
                            </div>
                            <div>
                              <p style=3D"margin-bottom: 0; margin-top: =
0">
                                <br>
                                                              </p>
                            </div>
                            <div>
                              <p style=3D"margin-bottom: 0; margin-top: =
0">
                                Any ideas&#63;                             =
 </p>
                            </div>
                            <div>
                              <p style=3D"margin-bottom: 0; margin-top: =
0">
                                <br>
                                                              </p>
                            </div>
                            <div>
                              <p style=3D"margin-bottom: 0; margin-top: =
0">
                                <br>
                                                              </p>
                            </div>
                            <p style=3D"margin-bottom: 0; margin-top: 0">
                              <br>
                              <br>
                                                          </p>
                            <div apple-content-edited=3D"true">
                              <div style=3D"font-variant: normal; =
white-space: normal; font-style: normal; word-spacing: 0px; text-transform:=
 none; font-family: Helvetica; font-size: 12px; text-align: auto; color: =
rgb(0, 0, 0); text-indent: 0px; line-height: normal; font-weight: bold; =
letter-spacing: normal" class=3D"apple-style-span">
                                <div style=3D"font-variant: normal; =
white-space: normal; font-style: normal; word-spacing: 0px; text-transform:=
 none; font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0); =
text-indent: 0px; line-height: normal; font-weight: normal; letter-spacing:=
 normal" class=3D"apple-style-span">
                                  <div style=3D"font-variant: normal; =
white-space: normal; font-style: normal; word-spacing: 0px; text-transform:=
 none; font-family: Helvetica; font-size: 12px; color: rgb(0, 0, 0); =
text-indent: 0px; line-height: normal; font-weight: normal; letter-spacing:=
 normal" class=3D"apple-style-span">
                                    <div>
                                      <p style=3D"margin-bottom: 0; =
margin-top: 0">
                                        <b>Ron Prue</b>                    =
                  </p>
                                    </div>
                                    <div>
                                      <p style=3D"margin-bottom: 0; =
margin-top: 0">
                                        <b>Technical Services</b>          =
                            </p>
                                    </div>
                                    <div>
                                      <p style=3D"margin-bottom: 0; =
margin-top: 0">
                                        <b>Noah Corporation</b>            =
                          </p>
                                    </div>
                                    <div>
                                      <p style=3D"margin-bottom: 0; =
margin-top: 0">
                                        <b>435.214.2927</b>                =
                      </p>
                                    </div>
                                    <div>
                                      <p style=3D"margin-bottom: 0; =
margin-top: 0">
                                        <b><a href=3D"mailto:ron.prue at mynoa=
hs.com">ron.prue at mynoahs.com</a></b>                                      =
</p>
                                    </div>
                                    <div>
                                      <p style=3D"margin-bottom: 0; =
margin-top: 0">
                                        <b><br style=3D"font-weight: =
bold">
                                        </b>                               =
       </p>
                                    </div>
                                    <div>
                                      <p style=3D"margin-bottom: 0; =
margin-top: 0">
                                        <b><br style=3D"font-weight: bold" =
class=3D"apple-interchange-newline">
                                        </b>                               =
       </p>
                                      <div>
<br>                                         =20
                                      </div>
                                      <div>
                                        <div>
                                          <p style=3D"margin-bottom: 0; =
margin-top: 0">
                                            &lt;Noahs Logo.png&gt;         =
                                 </p>
                                        </div>
                                      </div>
                                      <div style=3D"font-variant: normal; =
white-space: normal; font-style: normal; word-spacing: 0px; text-transform:=
 none; font-family: Helvetica; font-size: 12px; text-align: auto; color: =
rgb(0, 0, 0); text-indent: 0px; line-height: normal; font-weight: bold; =
letter-spacing: normal" class=3D"apple-style-span">
                                        <div style=3D"font-variant: =
normal; white-space: normal; font-style: normal; word-spacing: 0px; =
text-transform: none; font-family: Helvetica; font-size: 12px; color: =
rgb(0, 0, 0); text-indent: 0px; line-height: normal; font-weight: bold; =
letter-spacing: normal" class=3D"apple-style-span">
                                          <p style=3D"margin-bottom: 0; =
margin-top: 0">
                                            <br class=3D"apple-interchange-=
newline">
                                            <br class=3D"apple-interchange-=
newline">
                                            <br class=3D"apple-interchange-=
newline">
                                                                           =
           </p>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                            <p style=3D"margin-bottom: 0; margin-top: 0">
                              <br>
                                                          </p>
                            <div>
                              <p style=3D"margin-bottom: 0; margin-top: =
0">
                                &lt;ATT00001.txt&gt;                       =
       </p>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <p style=3D"margin-bottom: 0; margin-top: 0">
                        <br>
                                              </p>
                    </div>
                  </div>
                </blockquote>
              </div>
              <p style=3D"margin-bottom: 0; margin-top: 0">
                <br>
                              </p>
            </div>
          </div>
        </div>
      </blockquote>
    </div>
    <p style=3D"margin-bottom: 0; margin-top: 0">
      <br>
    </p>
  </body>
</html>

--=__Part604848C1.0__=--


More information about the Casper mailing list