List:General Discussion« Previous MessageNext Message »
From:Lixun Peng Date:October 17 2012 2:44am
Subject:Re: error 13
View as plain text  
Hi,

What's the dir permissions?

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 <kalin@stripped> 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
Twitter: http://www.twitter.com/plinux
Blog: http://www.penglixun.com

Thread
error 13kalin17 Oct
  • Re: error 13Lixun Peng17 Oct
    • Re: error 13Michael Dykman17 Oct
      • Re: error 13kalin17 Oct
        • Re: error 13Lixun Peng17 Oct
          • RE: error 13Rick James17 Oct
            • Re: error 13Ananda Kumar17 Oct
              • Re: error 13Ananda Kumar17 Oct
                • Re: error 13kalin17 Oct
                  • Re: error 13Ananda Kumar18 Oct
                    • Re: error 13kalin18 Oct
                      • Re: error 13Michael Dykman18 Oct
                      • Re: error 13Ananda Kumar19 Oct
    • Re: error 13kalin17 Oct