
FileSystemMirror
-----------------

A very simple demo app that will mirror all or parts of you 4SS installation to the file system
and vice versa.  It has a very limited feature set currently.


TODO
-------------
Make it a server once 4SS server extensions are cleaner
Mapping of 4SS users to file system users
Mapping of permissions
Mapping of file types to MIME types
Allow better determination of what wins for descrpencies (AKA allowing deleting of files)
Add support for aliases

Running
------------
Just run the script with the following command line parameters:

python FileSystemMirror.py <localpath> <ftsspath> --read=<readAcl> --write=<writeAcl>

localPath is a path on the local file system.  This directory (and all children) will be mirred in 4SS
ftsspath is a path in the 4SS installation.  This directory (and all children) will be mirrored
readAcl the read ACL ident for any new resources created in the system if not supplied WORLD access is used
writeAcl the write ACL ident for any new resource created in the system if not supplied WORLD access is used

Example:

python FileSystemMirror.py /var/data /localhost/data


Every time the script is run, the directories will be synched.