On 10/16/12 10:44 PM, Lixun Peng wrote:
Hi,

What's the dir permissions?

was 755. now 777. same result.


For example, if we have a file in /a/b/file, dir a is 644, even though
file is 777, we can't access file, too.

On Wed, Oct 17, 2012 at 10:31 AM, kalin <ka...@el.net
<mailto:ka...@el.net>> wrote:



    hi all..

    this hasn't happened before...

    i'm in as root on the command line cleint. trying to load data
    infile '/path/to/file'

    file is owned by mysql and it has 777 permissions. the directory
    where the file is is also owned by mysql.

    when i do:
    mysql> load data infile '/path/to/file' etc...

    i get:

    ERROR 13 (HY000): Can't get stat of '/path/to/file' (Errcode: 13)

    ls -al /path/to/file

    lists the file...

    so why do i get errcode 13?!


    i'm on os x.


    thanks...

    --
    MySQL General Mailing List
    For list archives: http://lists.mysql.com/mysql
    To unsubscribe: http://lists.mysql.com/mysql




--
Senior MySQL Developer @ Taobao.com

Mobile Phone: +86 18658156856 (Hangzhou)
Gtalk: penglixun(at)gmail.com <http://gmail.com>
Twitter: http://www.twitter.com/plinux
Blog: http://www.penglixun.com


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql

Reply via email to