Package: flightgear-data / 3.0.0-3

60da20.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Drop FG_SCENERY from the accepted file access list
 The allowed directories for reading include FG_SCENERY, which can
 be changed from Nasal via /sim/terrasync/scenery-dir. Effectively
 allowing a nasal script to access any file with the user's
 permission.
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Last-Update: 13-03-2015
Origin: http://sourceforge.net/p/flightgear/fgdata/ci/60da2094252cee1a5cdfe737f29becd5c6800549

diff --git a/Nasal/IOrules b/Nasal/IOrules
index 71d2f67..ddb0189 100644
--- a/Nasal/IOrules
+++ b/Nasal/IOrules
@@ -28,7 +28,6 @@
 READ ALLOW $FG_ROOT/*
 READ ALLOW $FG_HOME/*
 READ ALLOW $FG_AIRCRAFT/*
-READ ALLOW $FG_SCENERY/*
 
 WRITE ALLOW /tmp/*.xml
 WRITE ALLOW $FG_HOME/*.sav