Department of Psychology
originally by Lois Putnam
updated by Kevin Flora in May 2008
"Psychweb" is the title of the group of individuals authorized to create and share files within the cunix psychology directory, where most of the web pages used for teaching and advising reside. A brief history of psychweb is available below. Much of the site is also maintained by a content management system and thus is off limits to psychweb members.
Thanks to the contributions of past and present psychweb members, the psychology directory and its subdirectories receive thousands of hits a day, and have become a crucial part of our teaching, advising, and research infrastructure.
Below are some very important guidelines to keep in mind when publishing in the psychology directory. Note that this is not a web-publishing primer; you should already be experienced at web publishing before you begin to upload pages to the psychology directory. If you would like to be added to the psychweb group, please first develop your skills within your own public_html directory.
General guidelines for psychweb members
The psychweb group was created
in October 1995 by David Atwood, the department's network administrator.
David remained the department's webmaster until his departure in February
2000, when ownership of psychweb was temporarily turned over to Lois Putnam
until a new webmaster could be hired.
We thank lab manager Kevin Flora for the instructions below. Kevin is on leave from lab manager duties in Fall 2008 while he studies in China.
Instructions for how to gain access to and use Psychweb
Accessing the psychology directory.
A. Using Fugu:
1. Launch Fugu
2. Supply Host name and Directory in the Connect to bar as shown below.
3. Supply your own User ID ("uni") in the Username bar and cunix password when prompted.
From here click on psychweb icon seen below. You will then have access to the psychweb directory.
B. Directly through cunix:
login to your cunix account; at the $ prompt, type:
Here's a shortcut recommended to us by Rahul:
To access the
psychology directory easily, type in the following command in your cunix
When uploading files or creating subdirectories within the psychology directory, please make especially sure among all permissions you set to set group permissions to read and write enabled. Otherwise no one but Phredd will be able to edit your files whenever ACIS makes its emergency ownership changes..
1. Setting Permissions using Fugu:
You will need to specify file permissions when using Fugu. To see all the attributes and permissions of an item after connecting to cunix.cc.columbia.edu with Fugu, whether on your computer or on the SFTP server, select the item and click on Info from the Fugu task bar on top, or right click after selecting the item and select Get Info. In the info panel, you can modify file permissions, set owner and group, and see other information pertaining to the selected item.
Check all three boxes in the Owner line and Groupe line (i.e. Read, write and Execute). On the Others/Public line, select Read and Execute only. NOTE: Be careful not to click OK while the boxes are empty; you could lose permission to read your own file! See below for how a correct permissions check list should look.
In the Fugu window corresponding with the remote, or online, portion of your account, file permissions will appear in a column heading above your files. If you do not see permissions, go to view, then Columns, then select permissions. Your file permissions and group designation should look like the 200bc folder below.
More specifically, the correct file permissions set for the folder 200bc imply: Owner: -rwx (i.e. read+write+execute), Group: rwx (i.e read+write+execute), Others/Public: r-x (i.e. read and execute).
All toghether directory file permissions should read as rwxrwsr-x. (as shown in the Fugu window above)
2. Setting permissions with Cunix
The Center for New Media Teaching and Learning recommends the use of cunix.cc.columbia.edu when posting course web pages.
Below are the UNIX commands to set group permissions correctly for directories, and for files within a directory.
$ chmod 774 *.* or $ chmod 775 *.*
CHMOD stands for Change Mode and simply means that you are changing your permissions on the file or folder. "CHMOD" is also a UNIX command that is used in code and through the command line to change permissions on files and folders. The numbers 7 7 5 designate the permissions allowed to the Owner 7, the Group 7 and Others/Public 5. In FTP number notation, "Read" is represented by the number 4, "Write" is represented by the number 2 and "Execute" is represented by the number 1. The actual permission for each group is based on the number sum for each column, 4+2+1 = 7 .
A combination of the three permissions will create a different total for that column, which again represents the permissions designation for that file. So for each column, which represents each user, e.g. owner, group etc, you simply enter the permissions sum that you want for that user based on the number notation explained above. The permissions notations -rwxrwxr-x" or CHMOD 775 alloted to a file allow it to run properly and which are just two ways to represent the same thing.
When using Cunix, you will need to set the file group designation. The Group name on all files and directories should be psychweb. Below
you can see that the subdirectory /goals has the correct designation,
but the file EthicalTrng.html is incorrectly designated "studmail."
To change the group designation for a single file, issue the command:
$ chgrp psychweb filename
which in our example would be
$ chgrp psychweb EthicalTrng.html
To change it for all files within a directory, you can use the wildcard character.
$ chgrp psychweb *
Once you have done this, you can verify that it worked using
$ ls -l
Please send suggestions regarding this page to Lois Putnam or Peter Tripp
This page was modified in Dreamweaver by Kevin Flora in 2008