Thejas M Nair created HCATALOG-401:
--------------------------------------
Summary: hcat database/table permissions are governed by
permissions of the base dir of database/table
Key: HCATALOG-401
URL: https://issues.apache.org/jira/browse/HCATALOG-401
Project: HCatalog
Issue Type: Bug
Affects Versions: 0.4
Reporter: Thejas M Nair
In usual setup of hcat/hive, the warehouse directory is writeable by everyone.
This means that a database or table in default database can be deleted by
anyone.
We should document this behavior and ways to work around it.
In versions of hadoop (> 0.21 ) there is support for sticky bit (HADOOP-3953),
which can be set to on warehouse directory to avoid this issue.
With other versions of hadoop (1.0.x), the user should specify a location in
the ddl statement for the database or table in default database that resides in
a directory which has write access only for the owner/group.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira