Adobe Encore Disc Burning

Adobe Encore Disc Burning

juin 29, 2011 Add Comment
I've run across an issue in our lab where the Adobe Encore CS5 app failed to burn a DVD of a project. It gives an error of: "OSStatus Error = -5000". According to Google, this is an error that occurs when the filesystem can't write to a particular location.

After running FSEventer to watch where Encore wants to write, I find it trying to log the Video TS Layout inside it's own .app bundle!

When the user has full permissions to write, Encore creates this file: /Applications/Adobe Encore CS5/Adobe Encore CS5.app/Contents/MacOS/DualLayerVideoTSLayout.log

When a user does not have write permissions, Encore complains. There are a couple options to fix this;
1) Give the world write privileges
chmod o+w DualLayerVideoTSLayout.log

2) Change the group to your standard users group

chgrp staff DualLayerVideoTSLayout.log

or my favorite...

3) Symlink the log file to tmp
ln -fhs /tmp/DualLayerVideoTSLayout.log /Applications/Adobe Encore CS5/Adobe Encore CS5.app/Contents/MacOS/DualLayerVideoTSLayout.log

So if you ever run into Adobe Encore CS5 failing to burn, check this log out!
DeployStudio freeze users home directories

DeployStudio freeze users home directories

juin 28, 2011 Add Comment
I've had a chance to check out the new DeployStudio "Freeze home directories content (restore at reboot)" feature of rc127. It's a check box in the Configuration Task of a workflow.

The script that runs at first boot checks for any existing backups. If none are found, it uses ditto (ditto --rsrc ) to create a copy of each home directory from /Users to /private/dss_homedirs_ref/.

If there is an existing backup of a user in /private/dss_homedirs_ref/, the script uses rsync ( rsync -av --delete ) to restore the home folder. A word of caution here; If there is an existing backup and changes have been made to the user's home directory, the rsync command will delete the files that don't exist in the backup after a reboot. This is great for a lab Mac, where you want the same home folder every time the machine reboots. Its not so great for a faculty machine, be careful and test!

By default, the Shared folder is not included in the backup and restore process.

Check out the actual script here: http://pastie.textmate.org/2141011