NCS Computer FAQ

Knowledgebase Home Knowledgebase Home
Search the Knowledgebase Browse by Category
How do I make my web site viewable(set permissions) using Mac OS X?
User Opinions
No users have voted.

How would you rate this answer?
Helpful
Not helpful
Follow the step by step directions below to make your web site viewable using Mac OS X
  1. Open the Mac OS X Terminal. You can locate the Terminal program by opening your hard drive,  going to your Applications folder, opening the Utilities folder and clicking on Terminal
  2. At the system command prompt, enter the command below and press return

    ssh netid@server.rutgers.edu (server should be replaced with either andromeda or pegasus)
  3. The initial time you access andromeda/pegasus through Terminal(ssh) you will be asked if you want to authenticate andromeda/pegasus.rutgers.edu. Enter yes and then enter your password
  4. In order to make your make your public_html directory viewable issue the following command

    chmod 755 public_html
  5. Check that the directory is viewable by entering the following command

    ls -ld public_html

    If the protection is not drwxr-xr-x reissue the chmod command
  6. Your index.html file in your public_html directory should be readable.
  7. Change to the public_html directory  by issuing the following command

    cd public_html
  8. Check the protection of your file(index.html)

    ls -l filename
  9. If the protection is not -rw-r--r-- you should change the permission by issuing the following command

    chmod 644 filename
  10. Exit from the unix system
Visitor Comments
No visitor comments posted. Post a comment
Related Questions
No related questions were found.
Attachments
No attachments were found.

Powered by ActiveKB Knowledgebase Software