Code:
 mysqldump -u root test blobonly -T /home/oracle/mysql/mysql5.5/mysqldump/tab -p
Enter password: 
mysqldump: Got error: 1: Can't create/write to file '/home/oracle/mysql/mysql5.5/mysqldump/tab/blobonly.txt' (Errcode: 13) when executing 'SELECT INTO OUTFILE'

[oracle@11gr2-primary ~]$ ls -lrthd /home/oracle/mysql/mysql5.5/mysqldump/tab/
drwxr-xr-x 2 oracle oinstall 4.0K Jul  5 09:04 /home/oracle/mysql/mysql5.5/mysqldump/tab/
How do I resolve the above error?

my version is as follow

Code:
[root@localhost[test]>show variables where variable_name like '%version%';
+-------------------------+------------------------------+
| Variable_name           | Value                        |
+-------------------------+------------------------------+
| innodb_version          | 5.5.32                       |
| protocol_version        | 10                           |
| slave_type_conversions  |                              |
| version                 | 5.5.32                       |
| version_comment         | MySQL Community Server (GPL) |
| version_compile_machine | x86_64                       |
| version_compile_os      | Linux                        |
+-------------------------+------------------------------+
7 rows in set (0.00 sec)

[root@localhost[test]>

tables in test are as follow

Code:
[root@localhost[test]>show tables from test;
+----------------------------+
| Tables_in_test             |
+----------------------------+
| binaryonly                 |
| blobonly                   |
| charonly                   |
| textonly                   |
| varbinaryonly              |
| varchar_test_quoted_string |
| varcharonly                |
+----------------------------+
7 rows in set (0.01 sec)
even http://dev.mysql.com/doc/refman/5.6/en/grant.html does not tell anything about how to grant file privilege.


thanks a lot!