« Return to Thread: [Cooker] [2009.1] What is errcode: 13 when trying to allocate files as root

Re: [Cooker] [2009.1] What is errcode: 13 when trying to allocate files as root

by Steve Morris-5 :: Rate this Message:

Reply to Author | View in Thread

On 01/07/09 06:49, Frank Griffin wrote:

> Steve Morris wrote:
>    
>> /usr/sbin/mysqld: Can't create/write to file '/root/tmp/ibSy10pn'
>> (Errcode: 13)
>>
>> What does this mean and why does it occur even if I issue chmod 777
>> /root/tmp
>>
>>      
> Start with /usr/include/errno.h and follow the #includes until you find
> the standard errno numbers.
>
> Then realize that you can't create in /root/tmp if you can't cd to
> /root, which has perms rwx------.  ;)
>
>    
If that is the case I am now confused about the inconsistencies is
2009.1. An out of the box install of 2009.1 installs /home not user
writeable, but normal users have no issue writing to /home/&uid when
/home is left with the default allocations, so what's the difference and
why this inconsistency.
The main question this error raises is, because mysqld has to be started
under root to use the --user parameter to specify what userid to run it
under (which I specified as mysql as per doco), and I created
/home/mysql even though it is not required, and I had not explicitly
specified the path for temporary files at this stage, why was it using
/root/tmp anyway?

regards,
Steve


[samorris.vcf]

begin:vcard
fn:Steve Morris
n:Morris;Steve
email;internet:samorris@...
x-mozilla-html:TRUE
version:2.1
end:vcard


 « Return to Thread: [Cooker] [2009.1] What is errcode: 13 when trying to allocate files as root