Welcome, Registration, and other StartingPoints; TWiki history & Wiki style; All the docs...
View   r47  >  r46  ...
TWikiInstallationGuide 47 - 02 Aug 2002 - Main.PeterThoeny
Line: 1 to 1
 

TWiki Installation Guide

Line: 85 to 85
 
  • Set the permission of all files below twiki/data so that they are writable by user nobody. A simple way is to chmod them to -rw-rw-r-- (664) and to chown them to nobody.
  • Set the permission of the twiki/data directory and its subdirectories so that files in there are writable by user nobody. A simple way is to chmod them to drwxrwxr-x (775) and to chown them to nobody.
  • Set the permission of the twiki/pub directory and all its subdirectories so that files in there are writable by user nobody. A simple way is to chmod them to drwxrwxr-x (775) and to chown them to nobody.
Changed:
<
<
  • HELP The twiki/data/*/*.txt,v RCS repository files in the installation package are locked by user nobody. If your CGI scripts are not running as user nobody, it's not possible to check in files (you'll see that the revision number won't increase after saving a topic). In this case, you need to unlock all repository files (check the RCS man pages) and lock them with a different user, ex www-data, or delete them all - new files will be automatically created the first time each topic is edited. A simple way to change ownership is with a search-and-replace in all files; for example, using sed:
>
>
  • HELP The twiki/data/*/*.txt,v RCS repository files in the installation package are locked by user nobody. If your CGI scripts are not running as user nobody, it's not possible to check in files (you'll see that the revision number won't increase after saving a topic). In this case, you need to unlock all repository files (check the RCS man pages) and lock them with a different user, ex www-data, or delete them all - new files will be automatically created the first time each topic is edited. A simple way to change ownership is with a search-and-replace in all files; for example, using perl:
 
cd twiki/data

Changed:
<
<
for f in /,v; do sed 's/nobody\:/www-data\:/' $f > x; mv -f x $f; done
>
>
perl -pi -e 's/nobody:/www-data:/' /,v
 
Deleted:
<
<
Note that this is not required if you use the Perl based RCS implementation - see Dataframework.
 

Step 3: Set the Main Configuration File


Revision 47r47 - 02 Aug 2002 - 20:50:46 - PeterThoeny?
Revision 46r46 - 07 Jul 2002 - 06:43:55 - PeterThoeny?
This site is powered by the TWiki collaboration platform.
All material on this collaboration platform is the property of the contributing authors.
All material marked as authored by Eben Moglen is available under the license terms CC-BY-SA version 4.
Syndicate this site RSSATOM