silverstripe-framework/tests/core
Sam Minnee b401d39aec NEW: Move temp data into a user-specific subfolder, to stop temp-permission bugs from occurring.
Anyone who has run "sudo -u www-data ./framework/sake dev/build" knows that SilverStripe's temp
folder permissions can be very brittle.  This patch resolves this by making the temp folder
user-specific.

To minimise directory pollution it first creates a chmod 777 parent folder with the same name
as the current folder.  It then creates a subfolder of this with the same name as the current
user.

The positive impact of this change is that sake can be used without fear of messing up file
permissions.  This means, among other things, that we can put a Composer post-update-cmd into
the installer to run dev/build.  Progress!

The negative impact is that you will get two caches if you run sake as a different user.  However,
that is much better than the current situation - which is a bunch of bugs - and if you're concerned
about that, you still have the option of running sake as www-data.
2013-05-15 12:54:55 +02:00
..
manifest Add codesniffer that ensures indentation is with tabs. 2012-12-12 00:12:11 +13:00
ArrayDataTest.php Add codesniffer that ensures indentation is with tabs. 2012-12-12 00:12:11 +13:00
ArrayLibTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
ClassInfoTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
ConfigTest.php Fixed PHPUnit assertions for incomplete tests in core 2012-11-23 15:16:39 +01:00
ConvertTest.php BUG Fixed issue with Deprecation failing to extract the module from a stacktrace, especially on non-unix systems 2012-10-17 11:57:16 +13:00
CoreTest.php NEW: Move temp data into a user-specific subfolder, to stop temp-permission bugs from occurring. 2013-05-15 12:54:55 +02:00
DiffTest.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
HTMLCleanerTest.php BUG Fixed issue with Deprecation failing to extract the module from a stacktrace, especially on non-unix systems 2012-10-17 11:57:16 +13:00
ObjectTest.php Fixed PHPUnit assertions for incomplete tests in core 2012-11-23 15:16:39 +01:00