User Tools

Site Tools


maxwell

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
maxwell [2008/08/21 22:20] – created rathimaxwell [2008/08/22 14:52] (current) rathi
Line 1: Line 1:
-====== Directory structure with permissions TBDTBDTBDTBDTBD======+====== Directory structure with permissions ======
  
 The file permissions are the same as were there on lthcwww. \\ The file permissions are the same as were there on lthcwww. \\
Line 5: Line 5:
  
 <code> <code>
-drwxrwSr-x  rathi  ipgdemos 4096 2008-08-21 23:50 encoding+drwxr-sr-x  rathi  ipgdemos 4096 2008-08-22 12:15 maxwell
 </code> </code>
  
  
-This is the directory structure of %%"/var/www/demos/ensembles"%% \\+This is the directory structure of %%"/var/www/demos/maxwell"%% \\
 with permissions. \\ with permissions. \\
  
 <code> <code>
--rwxrwxr-x rathi ipgdemos  50141 2008-07-25 16:58 encoding +drwxr-sr-x rathi ipgdemos  4096 2008-07-24 15:28 images 
--rwxrwxrwx 1 rathi ipgdemos    171 2008-08-14 22:35 encodingparameters +-rw-r--r-- 1 rathi ipgdemos 37775 2008-08-15 20:24 index.php 
--rwxrwxrwx 1 rathi ipgdemos 250262 2008-08-17 20:08 hmatrix.pbm +-rw-r--r-- 1 rathi ipgdemos  4650 2008-07-24 15:28 js_top.js 
--rw-rw-r-- 1 rathi ipgdemos  12226 2008-08-15 19:55 index.php +-rw-r--r-- 1 rathi ipgdemos 32043 2008-08-14 16:51 lthc_index.php 
--rw-rw-r-- 1 rathi ipgdemos   4893 2008-08-14 13:40 lthc_index.php+-rwxrwxrwx 1 rathi ipgdemos    15 2008-07-24 15:28 maxwell_link_cmd 
 +drwxr-sr-x 2 rathi ipgdemos  4096 2008-07-24 15:49 sim
 </code> </code>
 The file %%"lthc_index.php"%% has the old lthc way of giving inputs. The file %%"lthc_index.php"%% has the old lthc way of giving inputs.
Line 24: Line 25:
  
  
-====== Important lines in index.php ====== 
  
 +====== Important lines in index.php ======
 +Line 40: the file %%"js_top.js"%% is displayed.\\
 +Line 95: file %%"images/explosionblank.jpg"%% is displayed. \\
 +Line 111 to 132: file %%"images/graph*.jpg"%% is displayed. \\
 +Line 151: Paper %%"paper/maxwell.ps"%% is displayed. \\
 +Line 185 to 514: Polynomials are exploded to obtain degree distribution.\\
 +Line 672: Input values are written to %%"/var/www/demos/files/maxwellexit/paraminput"%%. \\
 +Line 704: Another file is being written. \\
 +Line 704: System command to cat some files.\\
 +Line 734, 735, 830: File conversions.\\
 +Line 849: ps file output is shown.\\
 Line 46 to 396: The code is about checking the validity of the polynomials.\\ Line 46 to 396: The code is about checking the validity of the polynomials.\\
 Line 554 to 573: parameters are written if there is an input from the user.\\ Line 554 to 573: parameters are written if there is an input from the user.\\
Line 31: Line 42:
 Line 580: pbm to gif generated.\\ Line 580: pbm to gif generated.\\
 Line 594: gif is displayed.\\ Line 594: gif is displayed.\\
 +
  
  
Line 36: Line 48:
  
 ====== Location of files related to execution and writing ====== ====== Location of files related to execution and writing ======
 +Permanent images are there in %%"/var/www/demos/maxwell/images/"%%.
  
-The directory %%"/var/www/demos/files/encoding"%% has permission+The directory %%"/var/www/demos/files/maxwellexit"%% has permission
 <code> <code>
-drwxrwsrwx apache ipgdemos 20480 2008-08-17 18:06 encoding+drwxr-sr-x 3 rathi ipgdemos  4096 2008-08-22 11:30 maxwellexit 
 +</code> 
 +Inside the directory %%"/var/www/demos/files/maxwellexit"%% there are  
 +some ps and param files. 
 +<code> 
 +[rathi@iscsrv32 maxwellexit]$ ls -l 
 +total 436 
 +-rw-r--r-- 1 rathi ipgdemos    907 2008-08-22 11:30 averaged_prof.dat 
 +-rw-r--r-- 1 rathi ipgdemos    895 2008-08-22 11:30 channelcode.ps 
 +drwxrws--- rathi ipgdemos   4096 2008-07-24 15:41 distribution 
 +-rw-r--r-- 1 rathi ipgdemos  54257 2008-08-22 11:30 EXITcurvedata.ps 
 +-rw-r--r-- 1 rathi ipgdemos    509 2008-08-22 11:30 EXITitphases.ps 
 +-rw-r--r-- 1 rathi ipgdemos    487 2008-08-22 11:30 EXITmlphases.ps 
 +-rw-r--r-- 1 rathi ipgdemos   5579 2008-08-22 11:30 EXIT.png 
 +-rw-r--r-- 1 rathi ipgdemos 225552 2008-08-22 11:30 EXIT.ps 
 +-rw-r--r-- 1 rathi ipgdemos  72684 2008-08-22 11:30 graph 
 +-rwxr-xr-x 1 rathi ipgdemos   8137 2008-08-22 11:30 param 
 +-rw-r--r-- 1 rathi ipgdemos     21 2008-08-22 11:30 phasestransitions.dat 
 +-rw-r--r-- 1 rathi ipgdemos   7777 2008-08-22 11:30 profil600.png 
 +-rw-r--r-- 1 rathi ipgdemos   8094 2008-08-22 11:30 profil600.ps 
 +-rw-r--r-- 1 rathi ipgdemos      4 2008-08-22 11:30 temp_blocklength 
 +-rw-r--r-- 1 rathi ipgdemos      5 2008-08-22 11:30 temp_channel 
 +-rw-r--r-- 1 rathi ipgdemos      2 2008-08-22 11:30 temp_loopnum 
 +-rw-r--r-- 1 rathi ipgdemos      2008-08-22 11:30 temp_options
 </code> </code>
-Inside the directory %%"/var/www/demos/files/encoding"%% there are  +
-two files for a seesion.\\ +
-  * **param** contains the parameter of the ensembles and suffixed by session id.\\ +
-  * **gif file** It is the gif image of the triangulated matrix and its name is \\ +
-based on the session id. All these files have permissions: %%"-rw-r--r--"%%. +
  
  
Line 53: Line 85:
 =====Important Remark===== =====Important Remark=====
  
-There should be a %%"crone"%% job deleting the files in %%"/var/www/demos/files/encoding"%%.\\ +There are no different session id's. I think we do not need it except \\ 
-Right now the %%".pbm"%% file, which is the output for the triangulated matrix, is generated \\ +for the ps file which contains the output. \\ 
-in the directory %%"/var/www/demos/encoding"%%. Its naming is not based on session id. I do not \\ +
-'know if it is very crucial, but will be better to name it also according to the session id.\\ +
-Then we give give both the matrix and triangulated matrix to the user as a text file. \\ +
-There are some **777** permissions which should be taken care ofThese are there on lthcwww as well, \\ +
-so I did not try to change them.+
  
 +Then we need to make sure the permission issues are resolved from the \\
 +security point of view.
maxwell.1219357214.txt.gz · Last modified: 2008/08/21 22:20 by rathi