Andy is probably the only one who will appreciate this, but I was delighted to find that students set up their webspace through a normal, old-fashioned UNIX shell account! And on a Sun server, no less? Geek heaven!
But here's the fun part: some of thier instructions are flat-out wrong! In particular, once you've logged in, made a public_html folder if it wasn't already there, and created index.html with pico, (Yay pico! More geekery!) you are told to set permissions. I though this seemed like a lot of work for non-UNIX geeks, but at least they spelled out exactly what to type, right?
Well, explicit instructions don't help much if they are incorrect. Check this passage:
changing permissions on files
- Change to the public_html folder by typing "cd public_html" and press Enter.
- Type "ls -l" to view the folder's contents.
- To set permissions for a file within the public_html folder, type "chmod 644 name of file" and press Enter.
NOTE Replace "name of file" with the actual file name. For example, "index.html".
To set permissions for all files within the folder, type "chmod 644 *.*" and press Enter.
Nice and simple, right? Problem is, those aren't the permissions you want for public HTML files. "chmod 644" gives everyone read access to the files, but a webserver needs execute privileges to show the page. So if you followed the instructions, then tried visiting your site, all you would see is a nice "Error 403: Forbidden". So I just went ahead and fixed it with "chmod 755 index.html", and now my test page is up for all to see. But someone who isn't a total nerd can't be expected to know that.
I guess I'll have to call/e-mail them tomorrow. Calling might be more fun - how knowlegable of a person do you think they put in charge of the phone? >:)
1 comment:
chmod 777 ftw
:D
Post a Comment