| How do I make my web site viewable(set permissions) using Mac OS X? |
| User Opinions |
|
No users have voted.
|
|
Thank you for rating this answer.
|
Follow the step by step directions below to make your web site viewable using Mac OS X
- 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
- 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) - 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
- In order to make your make your public_html directory viewable issue the following command
chmod 755 public_html - 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 - Your index.html file in your public_html directory should be readable.
- Change to the public_html directory by issuing the following command
cd public_html - Check the protection of your file(index.html)
ls -l filename - If the protection is not -rw-r--r-- you should change the permission by issuing the following command
chmod 644 filename - 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.
|