2008-06-16 10:47:02 +00:00
|
|
|
# This file defines which file paths can be opened for reading and/or
|
2008-07-27 22:00:58 +00:00
|
|
|
# writing using Nasal's io.open() and parsexml() functions, as well as
|
|
|
|
# the fgcommands load, save, loadxml, and savexml. The evaluation code
|
|
|
|
# can be found in $FG_ROOT/Nasal/io.nas.
|
2008-06-16 10:47:02 +00:00
|
|
|
#
|
|
|
|
# Empty lines and lines starting with '#' are ignored. All other entries
|
|
|
|
# must be of the form
|
|
|
|
#
|
|
|
|
# {READ|WRITE} {ALLOW|DENY} <path-pattern>
|
|
|
|
#
|
|
|
|
# whereby fields must be separated by exactly one space. The pattern must
|
|
|
|
# not be quoted and may contain spaces. If a pattern starts with $FG_ROOT/
|
|
|
|
# or $FG_HOME/, then these parts are replaced by the respective system
|
|
|
|
# paths. See $FG_ROOT/Nasal/string.nas for the pattern syntax.
|
|
|
|
#
|
|
|
|
# Entries are considered from top down. If no entry matches, then file
|
|
|
|
# access is denied. A local rules file $FG_HOME/Nasal/IOrules using the
|
|
|
|
# same syntax takes precedence over this file. The default rules that
|
2008-07-03 16:23:13 +00:00
|
|
|
# apply if there's no Nasal/IOrules file at all, or there are no rules
|
|
|
|
# defined in it are equivalent to this:
|
2008-06-16 10:47:02 +00:00
|
|
|
#
|
|
|
|
# READ DENY *
|
|
|
|
# WRITE DENY *
|
|
|
|
#
|
|
|
|
# Read and write access to Nasal/IOrules files, however, is *always*
|
|
|
|
# prohibited and not configurable!
|
|
|
|
|
|
|
|
READ ALLOW $FG_ROOT/*
|
|
|
|
READ ALLOW $FG_HOME/*
|
2010-08-16 10:08:24 +00:00
|
|
|
READ ALLOW $FG_AIRCRAFT/*
|
2011-05-25 20:27:07 +00:00
|
|
|
READ ALLOW $FG_SCENERY/*
|
2008-06-16 10:47:02 +00:00
|
|
|
|
2009-06-17 15:38:29 +00:00
|
|
|
WRITE ALLOW /tmp/*.xml
|
2008-07-11 16:38:51 +00:00
|
|
|
WRITE ALLOW $FG_HOME/*.sav
|
2009-02-16 15:48:02 +00:00
|
|
|
WRITE ALLOW $FG_HOME/*.log
|
2013-10-28 11:35:47 +00:00
|
|
|
WRITE ALLOW $FG_HOME/cache/*
|
2008-06-16 10:47:02 +00:00
|
|
|
WRITE ALLOW $FG_HOME/Export/*
|
2008-07-30 20:34:52 +00:00
|
|
|
WRITE ALLOW $FG_HOME/state/*.xml
|
2008-07-11 16:38:51 +00:00
|
|
|
WRITE ALLOW $FG_HOME/aircraft-data/*.xml
|
2010-12-30 14:00:50 +00:00
|
|
|
WRITE ALLOW $FG_HOME/Wildfire/*.xml
|
2011-05-27 01:10:32 +00:00
|
|
|
WRITE ALLOW $FG_HOME/runtime-jetways/*.xml
|
2012-08-24 21:53:21 +00:00
|
|
|
WRITE ALLOW $FG_HOME/Input/Joysticks/*.xml
|
|
|
|
|