Showing posts with label Mac. Show all posts
Showing posts with label Mac. Show all posts

Wednesday, June 29, 2011

Adobe Encore Disc Burning

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!

Monday, October 5, 2009

BigFix on the Mac

BigFix? http://bigfix.com
What's that? It's a systems management tool!
It's a big tool, with lots of stuff you can do. One of those things is deploy software or scripts to machines based on there current settings. It's called relevance.

If a machine needs the latest firefox update, we can automatically push it, based on the relevance. For example, if it's version is less than the current version, it will update.
If our admin account is missing from the machine, it can automatically add our account. Super awesome password and all. Secure and tracked using SHA1.

I've create a few tasks in BigFix so far and here are some examples of the relevance.

For the 10.6.1 update, the relevance is:
(system version = "10.6")

For Enabling remote management (Checks that Remote Management is not running and that our admin account is available):
((name of operating system = "Mac OS X") AND (not exists process whose (name of it starts with "ARDAgent")) AND (exists user "etcadmin"))

For enabling remote login (Checks overrides.plist to see if it's disabled):
(system version >= "10.6") AND (exists ((booleans of values of entries whose (key of it is "Disabled") of dictionary "com.openssh.sshd" of dictionaries of file "/private/var/db/launchd.db/com.apple.launchd/overrides.plist")) whose (it = true))

So far, it's been working pretty well. Routers slow the process down, but university IP addresses get the tasks right away. More examples to come as I work on them.

Enjoy BigFix on the Mac