mysql UDF : fopen = permission denied
Posted
by Pierre
on Stack Overflow
See other posts from Stack Overflow
or by Pierre
Published on 2010-05-26T07:51:49Z
Indexed on
2010/05/26
8:11 UTC
Read the original article
Hit count: 668
Hi All,
I'm trying to create a mysql UDF function , this function calls "fopen/fclose" to read a flat file stored in /data
. But using errno (yes, I know it is bad in a MT program...) I can see that the function cannot open my file:
"Permission denied"
I tried to do a
chmod -R 755 /data
but it didn't change anything. Any idea ?
© Stack Overflow or respective owner