Article:
  An Unencrypted Look at FileVault
Subject:   the filevault disk image
Date:   2003-12-21 13:32:11
From:   F.J.
Response to: the filevault disk image

Hi !


The issue is most likely due to the change in the file-structure implied by FileVault. Indeed, paths to files may be slightly different for your script.


Would your script have log options, you may want to have a look at its output.


Also, the Apple Discussions feature a special UNIX forum where you will find many experienced UNIX scripters who can help you troubleshoot this issue.


Let me know if this helps !


F.J.

Full Threads Oldest First

Showing messages 1 through 4 of 4.

  • the filevault disk image
    2003-12-21 21:05:21  anonymous2 [View]

    I should have been more specific. It's an Applescript, and the key line is "duplicate (folder BackupSource of startup disk) to (folder BackupFolder of disk BackupDisk)".

    I've also found that I can't just grab my home dir and copy it to a folder on another drive, it says something like: 'can't copy, you don't have permission for some of these items'.
    • FJ de Kermadec photo the filevault disk image
      2003-12-22 09:28:29  FJ de Kermadec | O'Reilly Blogger [View]

      Hi !

      Your Home directory is at the center of your installation's filesystem and, therefore, Mac OS X prevents any potentially malicious application from moving it or tempering with it.

      However, there are ways to backup a whole Home folder quite easily.

      May I suggest, for example, that you have a look at applications like this one ?

      http://www.apple.com/downloads/macosx/system_disk_utilities/carboncopycloner.html

      Would you like to write your own script, you may want to use a shell script ( i.e. UNIX commands ). Indeed, since these scripts can be easily given additional privileges for a limited period of time, they will better interact with Mac OS X when it comes to working with essential system files.

      Would you be an experienced AppleScripter, keep in mind that shell script commands can be included in an AppleScript.

      Let me know if this helps !

      F.J.
      • the filevault disk image
        2003-12-23 11:10:49  anonymous2 [View]

        Checked out CCC, looks cool, although may not be exactly what I need. I've found a number of 'panther broke my applescript' posts on the apple discussion boards, looks like some of those are morphing into 'filevault broke my applescripts' posts. Indeed, I have found that any applescript I've written which copies files from my filevaulted home folder is now broken with FV turned on.
        • FJ de Kermadec photo the filevault disk image
          2003-12-24 08:31:11  FJ de Kermadec | O'Reilly Blogger [View]

          Hi !

          In my experience, AppleScript is a very powerful language that should allow you to perform the tasks you want although FileVault may require you to change it slightly.

          You may want to take advantage of the latest "script editor" debugging tools to see at which point your script experiences issues.

          Many AppleScript "issues" are simply due to the fact that most users slightly changed their directory structure after upgrading their installation.

          Did you try posting on the Apple Discussions ?

          F.J.