Could someone with a 10.8 system please run base with the attached
patch, which makes sandbox violations show up in the system log, and
determine what needs to be added to the profile to make pkg work?

Thanks.

- Josh
Index: src/port1.0/portsandbox.tcl
===================================================================
--- src/port1.0/portsandbox.tcl (revision 107347)
+++ src/port1.0/portsandbox.tcl (working copy)
@@ -79,7 +79,7 @@
         lappend allow_dirs $ccache_dir
     }
 
-    set portsandbox_profile "(version 1) (allow default) (deny file-write*) \
+    set portsandbox_profile "(version 1) (debug deny) (allow default) (deny 
file-write*) \
 (allow file-write-data (literal \"/dev/null\") (literal \"/dev/zero\") \
 (literal \"/dev/dtracehelper\") (literal \"/dev/tty\") \
 (literal \"/dev/stdin\") (literal \"/dev/stdout\") (literal \"/dev/stderr\") \
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to