permtool
---------
Sometimes people like to import an existing wwwoffle cache into another linux
system where filepermissions and daemon user/group may vary, for example
from Fedora to Debian.

This tool can change ownerships and permissions on the new box interactively
using menus that should help to prevent errors. 
It generally can also be configured for any task completely unrelated to 
wwwoffle.

You can configure a list of paths that will be searched and proceeded,
and also a list of paths that will be excluded from processing.
The tool modifies only files/dirs which match your configured
permission/ownership criteria.
Permission (access rights) and ownership modification is issued seperately 
from a simple text menu. All actions are taken verbosely, and there also will 
be a logfile which contains the appendet output of all tasks you ran.

The recent configuration is an example how to convert a cache from
a redhat box to debian. 

For more info, read the script header.

WARNING: The script still needs more testing. It's a beta version. 
                        No warranties !

    Have fun !
    -- mi.

--------------------------------------------------------------------------

Note:
If you need to copy the wwwoffle cache to export it to another system,
please note that some directories are actually symbolic links,
e.g. for wwwoffle 2.8c on a debian installation:
   
/var/cache/wwwoffle/html	-> /etc/wwwoffle/html
/var/cache/wwwoffle/monitor -> ../../lib/wwwoffle/monitor
/var/cache/wwwoffle/search/udmsearch -> mnogosearch
/var/cache/wwwoffle/search/namazu/conf -> /etc/wwwoffle/namazu
/var/cache/wwwoffle/search/namazu/scripts -> /usr/share/wwwoffle/search/mamazu
/var/cache/wwwoffle/search/mnogosearch/conf -> /etc/wwwoffle/mnogosearch	
/var/cache/wwwoffle/search/mnogosearch/scripts -> 
/usr/share/wwwoffle/search/mnogosearch
/var/cache/wwwoffle/search/htdig/conf -> /etc/wwwoffle/htdig
/var/cache/wwwoffle/search/htdig/scripts -> 
/usr/share/wwwoffle/search/htdig
/var/cache/wwwoffle/local	-> (this is reserved for a custom www directory)

