Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: hdiutil fails to unmount with error 49153 #375277
    jtoher
    Participant

    Hi

    I get similar problems, if any of the mounted volumes on my build machine have the same name as the root filesystem for the ASR image. In the instadmg.bash script, I have set ASR_FILESYSTEM_NAME=”Macintosh” and to avoid any confusion I also have ASR_TARGET_VOLUME=/Volumes/Macintosh. In my case, if any of the volumes on the build machine are called Macintosh, the script fails. Everything is fine when I make sure all mounted volumes on the build box are named to avoid duplicates.

    I also restart the build machine after the script has run successfully, to avoid later complaints from mount.

    J.

    in reply to: FireFox proxy settings on managed clients #373748
    jtoher
    Participant

    The extension at http://www.curthread.org/download/systemproxy/systemproxy-0.5.xpi is installed in the user’s Profile, so it’s not as useful as a system wide machine preference. However, in the past I’ve found and modified those prefs.js files on the server using “find”:

    cd location_of_home_dirs
    find */Library/Application\ Support/Firefox/Profiles/ -maxdepth 2 -name prefs.js

    And assuming that comes up with the files you are looking for you could, for example:

    find */Library/Application\ Support/Firefox/Profiles/ -maxdepth 2 -name prefs.js -exec cp ./coolprefs.js {} \;

    That line ends space, pair of braces, space, backslash, semicolon (the pair of braces stands in for the found file). Obviously this is an easier thing to do than to undo, so you might prefer to take smaller steps with a loop. You will first of all need to enter two lines, since “Application Support” has a space in it:

    IFS=\ and hit return
    return again

    Changing your IFS variable as above (with no spaces) causes any “for” loop in this shell to use only line breaks between records, not spaces. Then you can do things like:

    for i in `find */Library/Application\ Support/Firefox/Profiles/ -maxdepth 2 -name prefs.js`; do
    echo "something cautious involving ${i}"
    echo "another little test here"
    done

    And note the double quotes around “$i” every time you use it, since “$i” has a space in it (from Application Support). Much the safest option would be to use Safari on your restricted network instead, and I think that is the way I will jump on this one. 😕

Viewing 2 posts - 1 through 2 (of 2 total)