Help!

Or search support forum

What's Global Moxie?

Global Moxie specializes in mobile design strategy and user experience for a multiscreen world. We offer consulting services, training, and product-invention workshops to help creative organizations build tapworthy mobile apps and effective websites. We're based in Brooklyn, NY. Learn more.

On Shelves

Books by Josh Clark

Tapworthy: Designing Great iPhone Apps

Best iPhone Apps: The Guide for Discriminating Downloaders

iWork ’09: The Mising Manual

Moxiemail

Enter your e-mail to receive occasional updates:

"Big Medium could not write the file bm-setup.pl"

Question

When I run the Big Medium setup wizard, why do I get this error message:

Big Medium could not write the file bm-setup.pl to directory moxiebin
because either the file or directory permission settings do not allow
it. Contact your server administrator to ensure that the directory,
along with its parent directories, are configured to allow Big Medium
to write files.

Answer

Big Medium doesn't have permission to create or update its basic settings.

Among other things, the setup wizard creates and updates Big Medium's configuration file, where the application stores all of its settings. This file is kept in the moxiebin directory, the same directory where Big Medium keeps its other scripts.

Some servers or directories are configured not to allow scripts to write to files in this directory.

If you're running Big Medium on a Unix server

If the bm-setup.pl file already exists in the moxiebin directory, try settings its permissions to chmod 664 and try again. If that doesn't work try setting permissions to chmod 666. If it still doesn't work, skip down to the "Move bm-setup.pl to a new location" section below.

If the bm-setup.pl file does not exist in the moxiebin directory, try setting permissions on the moxiebin directory to chmod 775 and try again. If it still doesn't work, skip down to the "Move bm-setup.pl to a new location" section below.

If you're running Big Medium on a Windows server

Contact your server administrator to check that the moxiebin permissions are set to give the Internet Guest User all permission levels except "Full Access."

If your administrator cannot or is unwilling to make that change, follow the instructions below for moving the bm-setup.pl file.

Move bm-setup.pl to a new location

In a text editor, open the BigMed.pm file located here:

moxiebin/Modules/BigMed.pm

Find this line toward the top of the file:

$BMSETUP  = 'bm-setup.pl';

...and change it so that it specifies that the bm-setup.pl file is in your moxiedata directory. If you're not sure of the path, your server admin can help you.

For Unix, the result might look something like this:

$BMSETUP = '/home/username/moxiedata/bm-setup.pl';

For Windows, the result will look something like this:

$BMSETUP = 'C:\webserver\moxiedata\bm-setup.pl';

After making the change, upload the revised BigMed.pm file to your server, making sure that your FTP client is in "plain text" or "ASCII" mode, and then try running the setup wizard again.

Please note that after making this change, you'll need to repeat this process anytime that you update to a new version of Big Medium.

Download Big Medium
Try it free for 30 days, or buy to unlock.

A Better Place

“The App Store would be a better place if every app designer read Tapworthy.
—Juri Pakaste, developer

Tapworthy is far and away the best book on the subject.”
—Mike Rundle, iOS designer, Flyosity

Tapworthy is a great read for every iPhone app maker!”
—Sophia Teutschler, iPhone developer

More praise for Tapworthy