Carnegie Mellon University Website Home Page
 

Locking Your Files From Publication for Course, Organization, or Personal Pages

For information related to this topic refer to:

Note: If your web collection is published on www.cmu.edu, refer to the Publishing to www.cmu.edu for help.


Locking Your Web Pages for Publication
(for Course, Organization and Personal Pages)

If, for whatever reason, you would like to ensure that no one (including you) can inadvertently publish your personal, course or organization web pages, you can "lock" the pages from publishing by saving a file named .notpublish in your WWW directory.

Follow these steps:

  1. Launch a telnet session.
  2. Type the following command to set your working directory to WWW:

    cd www

    where pathname is the full path name for your organization's project volume, your course's project volume, or 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

Unlocking Your Web Pages

When you lock your pages, even you won't be able to publish them. If you want to publish your files, remove the .notpublish file by typing the following UNIX command while in your www directory:

  • rm .notpublish

Last Updated: 1/13/07