Композитор жалуется, хотя sys_get_temp_dir() возвращает '/tmp'
Я пытаюсь обновить Terminus, утилиту Pantheon:
$ curl -O https://raw.githubusercontent.com/pantheon-systems/terminus-installer/master/builds/installer.phar && php installer.phar update
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3198k 100 3198k 0 0 5565k 0 --:--:-- --:--:-- --:--:-- 5572k
Updating Terminus...
PHP temp directory (/tmp) does not exist or is not writable to Composer. Set sys_temp_dir in your php.ini
<warning>Package "pantheon-systems/terminus" listed for update is not installed. Ignoring.</warning>
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
sys_temp_dir
комментируется в php.ini
, но система по умолчанию указывает на /tmp
:
$ php -r "print sys_get_temp_dir();"
/tmp
А также /tmp
имеет широко открытые разрешения:
$ ls -al /tmp | head
total 12164
drwxrwxrwt 16 root root 20480 Dec 21 17:50 ./
Так почему же композитор жалуется?