[maryh@node1 ~]$ mkdir project2 [maryh@node1 ~]$ cd project2
[maryh@node1 ~/project2]$ cp -R /net/sw/mosis/IBM_PDK/cmrf8sf/relDM/cdslib/examples/* . [maryh@node1 ~/project2]$ cp -R /net/sw/mosis/IBM_PDK/cmrf8sf/relDM/cdslib/examples/.cds* . [maryh@node1 ~/project2]$ ll -a total 64 drwxr-xr-x 3 maryh edg 4096 Oct 1 2009 . drwxr-xr-x 92 maryh edg 8192 Oct 1 2009 .. -rw-r--r-- 1 maryh edg 192 Oct 1 2009 abstract.option -rw-r--r-- 1 maryh edg 720 Oct 1 2009 add_text.file -r--r--r-- 1 maryh edg 1005 Oct 1 2009 .cdsenv -r--r--r-- 1 maryh edg 17637 Oct 1 2009 .cdsinit -rw-r--r-- 1 maryh edg 405 Oct 1 2009 cds.lib -r--r--r-- 1 maryh edg 415 Oct 1 2009 lib.defs -rw-r--r-- 1 maryh edg 465 Oct 1 2009 local.rsf drwxr-xr-x 2 maryh edg 4096 Oct 1 2009 viewsets [maryh@node1 ~/project2]$ chmod 644 .cds* [maryh@node1 ~/project2]$ chmod 644 * [maryh@node1 ~/project2]$ chmod 775 viewsets [maryh@node1 ~/project2]$ ll -a total 48 total 64 drwxr-xr-x 3 maryh edg 4096 Oct 1 2009 . drwxr-xr-x 92 maryh edg 8192 Oct 1 10:34 .. -rw-r--r-- 1 maryh edg 192 Oct 1 2009 abstract.option -rw-r--r-- 1 maryh edg 720 Oct 1 2009 add_text.file -rw-r--r-- 1 maryh edg 1005 Oct 1 2009 .cdsenv -rw-r--r-- 1 maryh edg 17637 Oct 1 2009 .cdsinit -rw-r--r-- 1 maryh edg 405 Oct 1 2009 cds.lib -rw-r--r-- 1 maryh edg 415 Oct 1 2009 lib.defs -rw-r--r-- 1 maryh edg 465 Oct 1 2009 local.rsf drwxrwxr-x 2 maryh edg 4096 Oct 1 2009 viewsetsOur setup has all these files as read-only so no one accidentally overwrites them. This requires running the chmod 644 command to allow the owner to write to these files.
Note that the .cds* files can also be located in the user's home directory. However, those in the project directory take presidence over ones in the home directory.
[maryh@node1 ~/project2]$ virtuoso &