Women in Technology

Hear us Roar

  Apache Web-Serving with Mac OS X: Part 2
Subject:   Permissions Trouble
Date:   2003-05-11 21:10:33
From:   anonymous2
I just tried following this command line input:

cd /Library/WebServer/CGI-Executables
chmod 755 test-cgi

in order to make my cgi scripts executable, however my terminal shell spit back:

"chmod: simplest.cgi: Operation not permitted"

I'm wondering if there are some other permissions I made have changed before that would cause this to happen. Any ideas? Thanks.

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Found the Answer
    2003-05-12 12:09:48  anonymous2 [View]

    Okay, I've found out how to do this. I'm not very competent with unix, but apparently, you can only do the chmod command if you're working from the root user folder or something. So, what you're supposed to do instead of:

    chmod 755 (whatever file)


    sudo chmod 755 (whatever file)

    I don't really know what sudo is, but it seems like a progam that allows users to operate with root-like permissions for 5 minutes at a time, thus you can use sudo followed by any command every five minutes to keep it going. If anyone knows more about why this is necessary and what is really going on, please post. Thanks and good luck.
  • Permissions Trouble
    2003-05-11 23:25:44  anonymous2 [View]

    Hey me too! How can I put a cgi-bin file in one of the web sites I am working on in my "Sites" folder?

    I can't even get permission to work on the file because it says

    chmod: test-cgi: Operation not permitted


    So how do I fix this?
    and how do I do something more complex like setting up /~user/Sites/www.website.com/cgi-bin even if it is just for my own testing purposes and I'm not serving to the web?