Women in Technology

Hear us Roar

  ColdFusion MX on Mac OS X, Part 3
Subject:   Excellent Work!
Date:   2002-08-17 19:11:40
From:   sfisherii
This is really cool. Until I found this article I was on the verge of doing something I vowed I would never do again once I purcheased my mac a couple years ago, and that is buy a PC, just so I could run CFMX.

Everything worked perfectly except, the opt folder that was created was locked. Even logged in as administrator I wasn't able to access the folder. I rebooted in OS9 so that I could add the shell script to the bin folder. But then I thought that if I have to chmod this shell script then I can chmod the folders. After rebooting in OSX, using the terminal window as root, I was able to chmod the bin folder as well as the wwwroot folder. everything works like a champ now.

I don't know if this locking of the folders is supposed to happen or not. It surprised me because you didn't mention anything like this happening in the article. And I don't know if it has anything to do with me using the demo version of Open Base or just maybe I missed something else along the way. Thanks again and I can't wait for some more great articles if the future.

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Excellent Work!
    2002-08-18 18:16:02  dicklacara [View]

    Glad to help you avoid buying a PC! -- Excellent Work!

    If you followed the instructions, the /opt folder was originally created by the Linux root user. Then the CFMX install created the coldfusionmx folder tree acting as the cfmx user.

    The tar-gnutar process retains the ownership and privileges of the original directory tree.

    So, I don't know how the opt folder got locked -- but you resolved it.

    AFAIK, the Demo version of open base does not use the /opt folder.

    One thing that could have caused problems is this:

    In both the Linux and Mac OS X installs, there are several places where you are told to assume the identity of the root user with a su root command. Shortly after you are told to reassume the identity of the cfmx user with a su cfmx command.

    It is very important that you not run as the root user unless you need to -- and then reassume a non-root user identity ASAP.

    If you don't, bad things can/will happen.

    I should have emphasized this in the article!