allow writes to preferences directory
svn: r7292
This commit is contained in:
parent
8019362548
commit
bd85d12125
|
@ -51,8 +51,10 @@
|
|||
(make-security-guard (current-security-guard)
|
||||
(lambda (who what mode)
|
||||
(when (memq 'write mode)
|
||||
(unless (sub-path? (normal-path what)
|
||||
(unless (or (sub-path? (normal-path what)
|
||||
(normal-path (find-system-path 'temp-dir)))
|
||||
(sub-path? (normal-path what)
|
||||
(normal-path (find-system-path 'pref-dir))))
|
||||
(error 'slideshow
|
||||
"slide program attempted to write to filesystem: ~e"
|
||||
what)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user