silverstripe-framework/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 FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
ArrayLib.php Add codesniffer that ensures indentation is with tabs. 2012-12-12 00:12:11 +13:00
ClassInfo.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
Config.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
Convert.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
Core.php Arbitrary placement of _ss_environment.php in parent folders 2013-05-14 13:39:43 +02:00
DAG.php FIX Remove instances of lines longer than 120c 2012-09-30 17:18:13 +13:00
Diff.php Add codesniffer that ensures indentation is with tabs. 2012-12-12 00:12:11 +13:00
Extension.php Method visibility according to coding conventions 2012-09-20 10:46:59 +02:00
HTMLCleaner.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
Object.php API Make Object::config use late static binding 2013-03-26 00:37:47 +01:00
PaginatedList.php BUG PaginatedList deprecated method was calling non-existent method 2013-01-15 13:25:16 -06:00
TempPath.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