Apple has introduced the System Integrety Protection in OS X 10.11. This prevents...
authorErik Larkö <erik@larko.se>
Thu, 17 Dec 2015 15:45:05 +0000 (16:45 +0100)
committerErik Larkö <erik@larko.se>
Thu, 17 Dec 2015 16:30:29 +0000 (17:30 +0100)
commitb723c89628187ab138334c108e16d62bc9530d6e
tree435039157cebfe98ac774d0ef331367031248919
parentb8285895e7331af43ad10136c98a15c74b4b1d83
Apple has introduced the System Integrety Protection in OS X 10.11. This prevents writes to /usr amongst other paths. /usr/local is still writable though.

System.Environment.SpecialFolder.CommonApplicationData returns /usr/share on OS X 10.11, which is now not a very good place to put things :) This patch changes this folder to /usr/local/share.

This change is released under the MIT license.
mcs/class/corlib/System/Environment.cs