Details
-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 10.0.2
-
Fix Version/s: 10.0
-
Component/s: None
-
Labels:
Description
Currently to use an outward CONNECT table, one needs the FILE privilege not only for DDL operations (which is completely reasonable) or for DML (which is questionable, but possibly all right), but even for SELECT, which makes the use of the engine limited to either administrative or testing purposes.
I suppose there is no real need in FILE privilege for SELECT operations, please lift it if possible.
Please also consider whether it's needed for INSERT/UPDATE/DELETE.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Uhm, this is questionable. One needs FILE privilege for LOAD DATA INFILE or LOAD_FILE() function. That is, FILE privilege is normally required both for reading and writing (SELECT ... OUTFILE).
We must require FILE to read a file outside of datadir. And SELECT from a CONNECT table, is just it — reading a file outside of datadir.
On the other hand, one can argue that FILE should be only needed to create such a table, not later on.