Spring 2005 CSCI 173 lab 4

We have four small tasks today.

Computer hardware

We are going to install a new disk in a computer.

Protection under Windows

Within your "home" directory, known as \\UNO\users\yourid or H:, create two subdirectories. Call one directory csci173dropin and protect it so that at least one other person in the class can store files within that directory. Call one directory csci173lookin and protect it so that at least one other person in the class can examine files with the directory, but not store files there.

Then create a file within the csci173dropin of another student.

Delete the directories when you are done.

Protection under Linux

Create csci173dropin and csci173lookin similar to those you created with Windows, but this time stored on your Unix home directory.

You'll have to use the command setfacl to set the file permission. Start by using the command "man setfacl" to find out information about setfacl. This is how Unix guru's do it. Then ask for help.

Again, you should delete the directories when you are done.

Unzipping under Linux

Last week you should have transfered a ZIPed file samp03.zip to your Linux account. UnZIP that file into your public_html directory and then try to view http://www.cs.unca.edu/~yourid/samp03 in a web browser.