summaryrefslogtreecommitdiff
path: root/TWiki/AppendixFileSystem.mdwn
blob: d71e2b4ddf49ee02c5519f2dade1f126a55a7763 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
%TOC% %STARTINCLUDE% <a name="FileSystem"></a>

# <a name="Appendix_A_TWiki_File_System"> Appendix A: TWiki File System </a>

_Annotated listings of files included in the 01-Sep-2001 TWiki distribution_

## <a name="Overview"> Overview </a>

This Appendix contains directory and file listings, and individual file descriptions, for the full 01-Sep-2001 TWiki distribution package.

## <a name="Directory_Structure"> Directory Structure </a>

You can rename the root TWiki directory - `twiki` - to whatever you like by changing it in the `twiki.cfg` configuration file. However, to keep the current installation and future upgrades simple, you should leave the subdirectory structure intact:

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>Directory:</strong></th>
    <th bgcolor="#99CCCC"><strong>Files:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>twiki</code></td>
    <td align="center"> list </td>
    <td> Start-up info </td>
  </tr>
  <tr>
    <td><code>twiki/bin</code></td>
    <td align="center"> list </td>
    <td> Perl scripts </td>
  </tr>
  <tr>
    <td><code>twiki/lib</code></td>
    <td align="center"> list </td>
    <td> Configuration file, main library, Perl system modules, Plugins </td>
  </tr>
  <tr>
    <td><code>twiki/pub</code></td>
    <td align="center"> list </td>
    <td> Public files (e.g. images) and <span style="background:"><font color="">File Attachments</font></span><a href="http://LOCATION/FileAttachments">?</a> and their RCS histories </td>
  </tr>
  <tr>
    <td><code>twiki/data</code></td>
    <td align="center"> list </td>
    <td> Topic text (page content) and RCS histories </td>
  </tr>
  <tr>
    <td><code>twiki/templates</code></td>
    <td align="center"> list </td>
    <td> HTML templates, used by TWiki scripts </td>
  </tr>
</table>

## <a name="File_Descriptions"> File Descriptions </a>

A rundown of the individual files included in the current 01-Sep-2001 distribution, organized by TWiki root directories.

<a name="TWikiFiles"></a>

### <a name="Files_in_twiki_code_"> Files in `twiki` </a>

Application info and the current reference documentation. _Full file list:_

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>File:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>index.html</code></td>
    <td> A page with a link to first launch TWiki after install </td>
  </tr>
  <tr>
    <td><code>license.txt</code></td>
    <td> GNU General Public License and TWiki-specific info </td>
  </tr>
  <tr>
    <td><code>readme.txt</code></td>
    <td> General TWiki start-up info with relevant URLs </td>
  </tr>
  <tr>
    <td><code>TWikiDocumentation.html</code></td>
    <td> All documentation packaged as a single page </td>
  </tr>
  <tr>
    <td><code>TWikiHistory.html</code></td>
    <td> TWiki development timeline </td>
  </tr>
</table>

<a name="BinFiles"></a>

### <a name="Files_in_twiki_bin_code_"> Files in `twiki/bin` </a>

Perl CGI scripts. _Full file list:_

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>File:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>.htaccess.txt</code></td>
    <td> Authentication. Rename to .htaccess and customize if used </td>
  </tr>
  <tr>
    <td><code>attach</code></td>
    <td> Script that shows the attach file page (<span style="background:"><font color="">File Attachment</font></span><a href="http://LOCATION/FileAttachment">?</a>) </td>
  </tr>
  <tr>
    <td><code>delete</code></td>
    <td> (not used yet) </td>
  </tr>
  <tr>
    <td><code>edit</code></td>
    <td> Script to edit a topic </td>
  </tr>
  <tr>
    <td><code>geturl</code></td>
    <td> Script to fetch URL data </td>
  </tr>
  <tr>
    <td><code>mailnotify</code></td>
    <td> Script called by cron job to notify users of changes </td>
  </tr>
  <tr>
    <td><code>oops</code></td>
    <td> Script that shows an OK or oops dialog </td>
  </tr>
  <tr>
    <td><code>preview</code></td>
    <td> Script to preview topic after edit </td>
  </tr>
  <tr>
    <td><code>rdiff</code></td>
    <td> Script to see differences of topics </td>
  </tr>
  <tr>
    <td><code>rename</code></td>
    <td> Script to rename/move topics and move attachments </td>
  </tr>
  <tr>
    <td><code>register</code></td>
    <td> Script to register new users </td>
  </tr>
  <tr>
    <td><code>save</code></td>
    <td> Script that saves a topic, called by preview </td>
  </tr>
  <tr>
    <td><code>search</code></td>
    <td> Script that displays search results </td>
  </tr>
  <tr>
    <td><code>statistics</code></td>
    <td> Script to create statistics topic </td>
  </tr>
  <tr>
    <td><code>testenv</code></td>
    <td> Script to test CGI environment variables </td>
  </tr>
  <tr>
    <td><code>upload</code></td>
    <td> Script that does file upload (<span style="background:"><font color="">File Attachment</font></span><a href="http://LOCATION/FileAttachment">?</a>) </td>
  </tr>
  <tr>
    <td><code>view</code></td>
    <td> Script to view a topic ( <strong>the</strong> script ) </td>
  </tr>
  <tr>
    <td><code>viewfile</code></td>
    <td> Script to view a file attachment </td>
  </tr>
</table>

<a name="LibFiles"></a>

### <a name="Files_under_twiki_lib_code_"> Files under `twiki/lib` </a>

The new `lib/TWiki/Plugins` directories contain configuration, library and function files, and [[TWikiDocumentation]]. _Full file list:_

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>File:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>TWiki.pm</code></td>
    <td> Main TWiki library </td>
  </tr>
  <tr>
    <td><code>TWiki.cfg</code></td>
    <td> For configuration, used by <code>TWiki.pm</code></td>
  </tr>
  <tr>
    <td><code>TWiki/Access.pm</code></td>
    <td> Access control </td>
  </tr>
  <tr>
    <td><code>TWiki/Attach.pm</code></td>
    <td> Attachment handling </td>
  </tr>
  <tr>
    <td><code>TWiki/Form.pm</code></td>
    <td> Form handling </td>
  </tr>
  <tr>
    <td><code>TWiki/Meta.pm</code></td>
    <td> Meta data in topics </td>
  </tr>
  <tr>
    <td><code>TWiki/Net.pm</code></td>
    <td> SMTP mail handling </td>
  </tr>
  <tr>
    <td><code>TWiki/Plugins.pm</code></td>
    <td> Plugin handling </td>
  </tr>
  <tr>
    <td><code>TWiki/Prefs.pm</code></td>
    <td> Preferences handling </td>
  </tr>
  <tr>
    <td><code>TWiki/Search.pm</code></td>
    <td> Search engine, used by wiki.pm </td>
  </tr>
  <tr>
    <td><code>TWiki/Store.pm</code></td>
    <td> Back-end storage, <code>*.txt</code> text file and <code>*.txt,v</code> RCS repository file handling </td>
  </tr>
  <tr>
    <td><code>TWiki/Plugins/DefaultPlugin.pm</code></td>
    <td> Handles some legacy rules </td>
  </tr>
  <tr>
    <td><code>TWiki/Plugins/EmptyPlugin.pm</code></td>
    <td> Empty plugin, use to create your own </td>
  </tr>
  <tr>
    <td><code>TWiki/Plugins/InterwikiPlugin.pm</code></td>
    <td> Use aliases as links for predefined URLs </td>
  </tr>
</table>

<a name="PubFiles"></a>

### <a name="Files_under_twiki_pub_code_"> Files under `twiki/pub` </a>

The `pub` directory stores data-related files, including images used by TWiki and [[FileAttachments]]. Attachments are stored in sub-directories created with the related topic name. _Partial file list:_

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>File:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>favicon.ico</code></td>
    <td> ICO file </td>
  </tr>
  <tr>
    <td><code>twikilogo.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>twikilogo1.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>twikilogo2.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>twikilogo3.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>twikilogo4.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>wikiHome.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>icn/_filetypes.txt</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>icn/bat.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>icn/bmp.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <th align="center" bgcolor="#99CCCC"><strong>...</strong></th>
    <th align="center" bgcolor="#99CCCC"><strong>...</strong></th>
  </tr>
  <tr>
    <td><code>TWiki/FileAttachment/Sample.txt</code></td>
    <td> TEXT file </td>
  </tr>
  <tr>
    <td><code>TWiki/FileAttachment/Smile.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>TWiki/PreviewBackground/blankltgraybg.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>TWiki/PreviewBackground/blankwhitebg.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>TWiki/PreviewBackground/previewbg.gif</code></td>
    <td> GIF file </td>
  </tr>
  <tr>
    <td><code>TWiki/WabiSabi/wabisabi.gif</code></td>
    <td> GIF file </td>
  </tr>
</table>

<a name="DataFiles"></a>

### <a name="Files_under_twiki_data_code_"> Files under `twiki/data` </a>

TWiki page data stored as individual text files. Each active web has its own subdirectory. The TWiki distribution includes four start-up webs - `Main`, `TWiki`, `Know`, `Test` - with documentation and demo content, and a `_default` directory containing all topics required to start a new web. _Partial file list:_

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>File:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>.htpasswd</code></td>
    <td> Basic Authentication (htaccess) password file </td>
  </tr>
  <tr>
    <td><code>debug.txt</code></td>
    <td> Program messages useful for debugging </td>
  </tr>
  <tr>
    <td><code>mime.types</code></td>
    <td> Recognized file formats </td>
  </tr>
  <tr>
    <td><code>warning.txt</code></td>
    <td> Diagnostic messages for identifying problems </td>
  </tr>
  <tr>
    <td colspan="2"> _default directory can be copied to empty directory when creating new Webs </td>
  </tr>
  <tr>
    <td><code>_default/.changes</code></td>
    <td> Web-level record of topic changes </td>
  </tr>
  <tr>
    <td><code>_default/WebChanges.txt</code></td>
    <td> Display most recent topic changes in web </td>
  </tr>
  <tr>
    <td><code>_default/WebChanges.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <td><code>_default/WebHome.txt</code></td>
    <td> Default web home page </td>
  </tr>
  <tr>
    <td><code>_default/WebHome.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <td><code>_default/WebIndex.txt</code></td>
    <td> Lists all topics in a web </td>
  </tr>
  <tr>
    <td><code>_default/WebIndex.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <td><code>_default/WebNotify.txt</code></td>
    <td> Subscribe/unsubscribe to web changes email alert </td>
  </tr>
  <tr>
    <td><code>_default/WebNotify.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <td><code>_default/WebPreferences.txt</code></td>
    <td> Web-level preference settings </td>
  </tr>
  <tr>
    <td><code>_default/WebPreferences.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <td><code>_default/WebSearch.txt</code></td>
    <td> Web-level search options </td>
  </tr>
  <tr>
    <td><code>_default/WebSearch.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <td><code>_default/WebStatistics.txt</code></td>
    <td> Generates web usage statistics </td>
  </tr>
  <tr>
    <td><code>_default/WebStatistics.txt,v</code></td>
    <td> Revisions history (RCS) </td>
  </tr>
  <tr>
    <th align="center" bgcolor="#99CCCC"><strong>...</strong></th>
    <th align="center" bgcolor="#99CCCC"><strong>...</strong></th>
  </tr>
</table>

<a name="TemplatesFiles"></a>

### <a name="Files_in_twiki_templates_code_"> Files in `twiki/templates` </a>

Templates used to control appearance of all rendered pages. _Full file list:_

<table border="1" cellpadding="1" cellspacing="0">
  <tr>
    <th bgcolor="#99CCCC"><strong>File:</strong></th>
    <th bgcolor="#99CCCC"><strong>Used for:</strong></th>
  </tr>
  <tr>
    <td><code>oopsbadpwformat.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>attachagain.tmpl</code></td>
    <td> Control screen </td>
  </tr>
  <tr>
    <td><code>attachnew.tmpl</code></td>
    <td> Control screen </td>
  </tr>
  <tr>
    <td><code>changeform.tmpl</code></td>
    <td> Control screen </td>
  </tr>
  <tr>
    <td><code>changes.tmpl</code></td>
    <td> Displays <span style="background:"><font color="">Web Changes</font></span><a href="http://LOCATION/WebChanges">?</a> list of recently changed topics </td>
  </tr>
  <tr>
    <td><code>edit.iejs.tmpl</code></td>
    <td> Edit screen </td>
  </tr>
  <tr>
    <td><code>edit.tmpl</code></td>
    <td> Main edit window </td>
  </tr>
  <tr>
    <td><code>mailnotify.tmpl</code></td>
    <td> Email notification </td>
  </tr>
  <tr>
    <td><code>moveattachment.tmpl</code></td>
    <td> Control screen </td>
  </tr>
  <tr>
    <td><code>oopsaccesschange.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsaccessgroup.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsaccessrename.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsaccessview.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsauth.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>attach.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopschangepasswd.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsempty.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopslocked.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopslockedrename.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsmissing.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsmoveerr.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsnoformdef.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsnotwikiuser.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsnoweb.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopspreview.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsregexist.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsregpasswd.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsregrequ.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsregthanks.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsregwiki.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsrenameerr.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsresetpasswd.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsrev.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopssave.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopssaveerr.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopssendmailerr.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopstopicexists.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopsupload.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>oopswrongpassword.tmpl</code></td>
    <td> Error message </td>
  </tr>
  <tr>
    <td><code>preview.tmpl</code></td>
    <td> Preview Changes screen </td>
  </tr>
  <tr>
    <td><code>rdiff.tmpl</code></td>
    <td> Displays text changes before &amp;amp; after (Diffs) </td>
  </tr>
  <tr>
    <td><code>register.tmpl</code></td>
    <td> Registration page </td>
  </tr>
  <tr>
    <td><code>registernotify.tmpl</code></td>
    <td> Registration notification </td>
  </tr>
  <tr>
    <td><code>rename.tmpl</code></td>
    <td> Doing a new topic rename, user chooses web &amp;amp; topic </td>
  </tr>
  <tr>
    <td><code>renamebase.tmpl</code></td>
    <td> Used by other rename templates </td>
  </tr>
  <tr>
    <td><code>renameconfirm.tmpl</code></td>
    <td> Confirms a pre-specified rename, ex: undoing a rename </td>
  </tr>
  <tr>
    <td><code>renamerefs.tmpl</code></td>
    <td> Rename done, but some references not changed (topics were locked) </td>
  </tr>
  <tr>
    <td><code>search.tmpl</code></td>
    <td> Search screen </td>
  </tr>
  <tr>
    <td><code>searchbookview.tmpl</code></td>
    <td> Search results with full topic content </td>
  </tr>
  <tr>
    <td><code>searchmeta.tmpl</code></td>
    <td> Search screen </td>
  </tr>
  <tr>
    <td><code>searchrenameview.tmpl</code></td>
    <td> Used by <code>rename</code> to list references to topic being renamed </td>
  </tr>
  <tr>
    <td><code>twiki.tmpl</code></td>
    <td> Base template definitions used by other templates </td>
  </tr>
  <tr>
    <td><code>view.plain.tmpl</code></td>
    <td> Alternate topic header/footer view </td>
  </tr>
  <tr>
    <td><code>view.print.tmpl</code></td>
    <td> Alternate topic header/footer view </td>
  </tr>
  <tr>
    <td><code>view.tmpl</code></td>
    <td> Main topic view </td>
  </tr>
</table>

## <a name="TWiki_File_System_Snapshot"> TWiki File System Snapshot </a>

The following partial directory listings from a Linux installation show typical file permissions and ownership. This is provided for general debugging use only and isn't an exact representation of the current distribution.

Directory `twiki/bin`:

    drwxrwxr-x   2 twiki twiki   4096 Jun 17 16:34 .
    drwxrwxr-x   3 twiki twiki   4096 Jun 17 16:34 ..
    -rw-rw-r--   1 twiki twiki    650 Feb 10  2000 .htaccess
    -rwxrwxr-x   1 twiki twiki   4322 Mar 12 00:31 attach
    -rwxrwxr-x   1 twiki twiki   1426 Jun 20 19:52 delete
    -rwxrwxr-x   1 twiki twiki   9001 Jul 28 11:03 edit
    -rwxrwxr-x   1 twiki twiki   1811 Mar 11 02:27 geturl
    -rwxrwxr-x   1 twiki twiki   5006 Mar 11 02:41 mailnotify
    -rwxrwxr-x   1 twiki twiki   1769 Mar 11 03:07 oops
    -rwxrwxr-x   1 twiki twiki   6890 Jun 21 19:58 preview
    -rwxrwxr-x   1 twiki twiki   7606 Mar 31 18:30 rdiff
    -rwxrwxr-x   1 twiki twiki   8349 Jun 21 18:12 register
    -rwxrwxr-x   1 twiki twiki   2693 Jul  5 14:32 save
    -rwxrwxr-x   1 twiki twiki   3831 Jul 20 12:13 search
    -rwxrwxr-x   1 twiki twiki   9835 Jun 20 19:03 statistics
    -rwxrwxr-x   1 twiki twiki    509 Feb  7  2000 testenv
    -rwxrwxr-x   1 twiki twiki  14543 Jul 20 18:46 upload
    -rwxrwxr-x   1 twiki twiki   4755 May 22 18:11 view
    -rwxrwxr-x   1 twiki twiki   1689 Jun 20 20:10 viewfile

Directory `twiki/templates/`:

    drwxrwxr-x   4 twiki twiki   4096 Aug  3 01:17 .
    drwxrwxr-x   4 twiki twiki   4096 Aug 19 18:38 ..
    drwxrwxr-x   2 twiki twiki   4096 Jun 17 16:35 Know
    drwxrwxr-x   2 twiki twiki   4096 May  1 01:24 Main
    -rw-rw-r--   1 twiki twiki   2688 Aug 15 18:15 attach.tmpl
    -rw-rw-r--   1 twiki twiki   1283 Jul 20 15:56 attachtable.tmpl
    -rw-rw-r--   1 twiki twiki   1907 Jul 28 16:41 changes.tmpl
    -rw-rw-r--   1 twiki twiki   2265 Aug 15 17:57 edit.tmpl
    -rw-rw-r--   1 twiki twiki    965 Feb  8  2000 mailnotify.tmpl
    -rw-rw-r--   1 twiki twiki     30 Jan 13  1999 notedited.tmpl
    -rw-rw-r--   1 twiki twiki    940 Jul 20 15:59 notext.tmpl
    -rw-rw-r--   1 twiki twiki    907 Jul 20 16:01 notwiki.tmpl
    -rw-rw-r--   1 twiki twiki    341 Mar  8 11:39 noweb.tmpl
    -rw-rw-r--   1 twiki twiki   1000 Mar  8 11:40 oops.tmpl
    -rw-rw-r--   1 twiki twiki   1043 Oct 23 19:17 oopsaccesschange.tmpl
    -rw-rw-r--   1 twiki twiki   1036 Oct 23 19:17 oopsaccessview.tmpl
    -rw-rw-r--   1 twiki twiki    914 Mar  8 11:40 oopsdel.tmpl
    -rw-rw-r--   1 twiki twiki   1423 May 29 01:23 oopslocked.tmpl
    -rw-rw-r--   1 twiki twiki   1067 Mar  8 11:41 oopsregexist.tmpl
    -rw-rw-r--   1 twiki twiki    955 Mar  8 11:41 oopsregpasswd.tmpl

Directory `twiki/data/`:

    drwxrwxrwx   6 nobody  nobody  4096 Aug  3 01:09 .
    drwxrwxr-x   4 twiki   twiki   4096 Aug 19 18:38 ..
    -rw-rw-r--   1 nobody  nobody    51 Apr 21 16:48 .htpasswd
    drwxrwxrwx   2 nobody  nobody  4096 Aug 20 17:18 Know
    drwxrwxrwx   2 nobody  nobody  4096 Aug 19 04:15 Main
    drwxrwxrwx   2 nobody  nobody  4096 Aug 20 17:56 TWiki
    -rw-rw-rw-   1 twiki   twiki      1 Mar 11 04:19 debug.txt
    -rw-r--r--   1 nobody  nobody  1516 Aug 20 17:56 log200008.txt

Partial file list for `twiki/data/Main`:

    drwxrwxrwx   2 nobody  nobody  4096 Aug 19 04:15 .
    drwxrwxrwx   6 nobody  nobody  4096 Aug  3 01:09 ..
    -rw-rw-rw-   1 twiki twiki     3716 Aug 19 02:19 .changes
    -rw-rw-rw-   1 twiki twiki        9 Aug 19 02:45 .mailnotify
    -rw-r--r--   1 nobody  nobody   358 Aug 18 17:22 OfficeLocations.txt
    -r--r--r--   1 nobody  nobody   878 Aug 18 17:22 OfficeLocations.txt,v
    -rw-r--r--   1 nobody  nobody   680 Aug 18 17:36 TWikiGuest.txt
    -r--r--r--   1 nobody  nobody  1989 Aug 18 17:36 TWikiGuest.txt,v
    -rw-r--r--   1 nobody  nobody   459 Aug 18 17:19 TWikiUsers.txt
    -r--r--r--   1 nobody  nobody  3840 Aug 18 17:19 TWikiUsers.txt,v
    -rw-r--r--   1 nobody  nobody    95 Aug 19 03:06 WebChanges.txt
    -r--r--r--   1 nobody  nobody   284 Aug 19 03:06 WebChanges.txt,v
    -rw-r--r--   1 nobody  nobody  1853 Aug 18 18:08 WebHome.txt
    -r--r--r--   1 nobody  nobody  6523 Aug 18 18:08 WebHome.txt,v

Directory `twiki/pub/`:

    drwxrwxrwx   6 nobody  nobody  4096 Aug  3 01:21 .
    drwxrwxr-x   3 twiki   twiki   4096 Jun 17 16:35 ..
    drwxrwxrwx   3 nobody  nobody  4096 Jun 17 16:35 Know
    drwxrwxrwx   2 nobody  nobody  4096 Aug  3 01:21 Main
    drwxrwxrwx   3 nobody  nobody  4096 Aug  3 01:21 TWiki
    -rw-rw-r--   1 twiki   twiki   1078 Jan 14  2000 favicon.ico
    drwxrwxr-x   2 twiki   twiki   4096 Jun 17 16:35 icn
    -rw-rw-r--   1 twiki   twiki   3016 Oct  5  1999 twikilogo.gif
    -rw-rw-r--   1 twiki   twiki   5320 Oct  5  1999 twikilogo1.gif
    -rw-rw-r--   1 twiki   twiki   6125 Oct  5  1999 twikilogo2.gif
    -rw-rw-r--   1 twiki   twiki   7218 Oct  5  1999 twikilogo3.gif
    -rw-rw-r--   1 twiki   twiki   6710 Oct  5  1999 twikilogo4.gif
    -rw-rw-r--   1 twiki   twiki   2877 Jun  7  1999 wikiHome.gif

Partial file list for `twiki/pub/icn/`:

    drwxrwxr-x   2 twiki   twiki   4096 Jun 17 16:35 .
    drwxrwxrwx   6 nobody  nobody  4096 Aug  3 01:21 ..
    -rw-rw-r--   1 twiki   twiki    801 Mar 26  1999 _filetypes.txt
    -rw-rw-r--   1 twiki   twiki    143 Mar  9  1999 bat.gif
    -rw-rw-r--   1 twiki   twiki    926 Mar  9  1999 bmp.gif
    -rw-rw-r--   1 twiki   twiki    141 Mar 25  1999 c.gif
    -rw-rw-r--   1 twiki   twiki    144 Mar  9  1999 dll.gif
    -rw-rw-r--   1 twiki   twiki    152 Mar  9  1999 doc.gif

-- [[Main/MikeMannix]] - 14 Sep 2001 <br />