If your index.html and/or other files on your public_html are not
accessible, indicated by a message like "You don't have permission to
read index.html", you may be running afoul of permissions issues.
Try these steps to fix things up:
0. Make sure you've uploaded all your files to the CS dropbox.
1. See if you can just fix things at OIT directly:
ssh your-net-id@arizona.princeton.edu
cd public_html
chmod +r *
This should make all the files readable. If you then say
ls -l (that's an ell, not a one)
the results should be lines like this:
-rw-r--r-- 1 bwk staff 183 Sep 15 12:41 index.html
The "r" characters indicate read access for the owner (you), the group
(probably student for you), and others. If the line looks instead like
this:
-rw------- 1 bwk staff 183 Sep 15 12:41 index.html
that says that others have no access to the file.
2. If after doing step 1 there are still files that appear to be
unreadable, you may have to remove the files at OIT, set the permissions
correctly on your own machine, then redo the scp command. The sequence
is this:
on arizona:
rm index.html [ and any other files that have the wrong permissions ]
on your own machine
chmod +r index.html [ and any other files ... ]
scp index.html [ and any other files ] your-netid@arizona.princeton.edu:public_html
I'd be happy to watch over your shoulder while you do this sequence to
make sure you get it right. In particular, be careful to run the "rm"
(remove) command on arizona, NOT on your own machine.