Controlling Local File Access (chmod)

To determine file permissions on local space type:

ls -l

One will get a listing of files and current file permissions:

drwxr-sr-x 2 lisan sys 512 May 5 17:37 DHS
 rw-r-r--- 1 lisan sys 837 Jun 8 10:04 LJN-934a
 rw------- 1 lisan sys 39 Jun 10 17:11 job1

There are 10 fields that show file status. The first field indicates directory status (d). The next 9 fields show read (r), write (w), and executable (x) status for the owner (u), group (g), and anyuser (o) respectively. LJN-934a can be read by anyone at PSC. Only lisan can read job1.

Below are two ways to change access permissions. More details can be found in the "chmod" man page.

To only allow lisan read/write status for LJN-934a:

chmod go-r LJN-934a or chmod 600 LJN-934a

To add read status to others for file job1:

chmod o+r job1 or chmod 604 job1

To make files readable to a group of users, one must form a group (using smit). Then one gives file access to the group. See PC-Staff for help with this.


NEW PSC blog

Recent resources, events, news

New Publications

Frey. Race, Immigration and Changing Electorate, PSC Research Report.

Danziger & Rouse. Economics of Early Adulthood

Next Brown Bag

Seminars will start up again in fall 2008
Check for new schedule


W A R N I N G

If you are reading this, it may be that you are using rather old web browsing software that does not support modern international Web technology standards. For a better experience of the Web and this site in particular, please upgrade your web browser software today. The following are good choices: Firefox 2; Opera 9; Safari 3.