allow 'exists access to addon directory
svn: r12847
This commit is contained in:
parent
c62595772f
commit
a2ef8a5aae
|
@ -737,10 +737,11 @@
|
|||
(append (sandbox-override-collection-paths)
|
||||
(current-library-collection-paths)))]
|
||||
[sandbox-path-permissions
|
||||
(append (map (lambda (p) `(read-bytecode ,p))
|
||||
(current-library-collection-paths))
|
||||
(compute-permissions allow)
|
||||
(sandbox-path-permissions))]
|
||||
`(,@(map (lambda (p) `(read-bytecode ,p))
|
||||
(current-library-collection-paths))
|
||||
(exists ,(find-system-path 'addon-dir))
|
||||
,@(compute-permissions allow)
|
||||
,@(sandbox-path-permissions))]
|
||||
;; general info
|
||||
[current-command-line-arguments '#()]
|
||||
;; restrict the sandbox context from this point
|
||||
|
|
Loading…
Reference in New Issue
Block a user