
Originally Posted by
seade If possible I would like to be able to have the files owned by my user rather than apache so I have this:
PHP Code:
'default_permissions' =>
array (
'dir_mode' => 1528,
'file_mode' => 432,
'user' => 'myuser',
'group' => 'apache',
),
The above was actually the source of the error for me. I had
PHP Code:
'default_permissions' =>
array (
'dir_mode' => 1528,
'file_mode' => 432,
'user' => 'apache',
'group' => 'users',
),
but of course the user apache is not allowed to chgrp to the users group. I am now running with this:
PHP Code:
'default_permissions' =>
array (
'dir_mode' => 1528,
'file_mode' => 432,
'user' => 'apache',
'group' => 'apache',
),
and can upgrade my system. The error message was totally useless. What was actually happening was that sugar was attempting to create a temporary directory. When it did so it was attempting to chgrp to the users group and this operation failed. Instead of outputting something useful the relevant function simply returns false and the net result is that the path becomes the empty string that appears in the error message.
So what is the point of these configuration parameters when most web servers are locked down in this way.
They don't seem to make any difference and we still need sudo access to access any files that are created by sugar.
Scott
Bookmarks