Carnegie Mellon University

Lock Files from Publishing

Follow these steps to lock your files so that nobody, including you, can publish them inadvertently.

  1. Open a supported Telnet client; Tectia (Windows), Terminal (Mac) and connect to the User/Course Web server.
    Userid or User Name: your Andrew userID
    Password: your Andrew password
  2. Type the following command to set your working directory to www:
    cd www
    where www is the www directory you created for your web pages.
  3. Type the following command to create the file that will tell the server not to publish your files:
    touch .notpublish

Unlock Your Web Pages

To unlock your web pages, remove the .notpublish file by typing the following UNIX command when you are in your www directory:
rm .notpublish