unable to set permissions for new database using -p option, in unsecure mode
----------------------------------------------------------------------------
Key: HCATALOG-140
URL: https://issues.apache.org/jira/browse/HCATALOG-140
Project: HCatalog
Issue Type: Bug
Affects Versions: 0.2
Reporter: Thejas M Nair
When the -p option is used in unsecure mode, it results in a permission denied
error.
{code}
hcat -p rwx------ -e 'create database testdb2'
Hive history
file=/tmp/hortonth/hive_job_log_hortonth_201110242102_1959215570.txt
OK
Failed to set permissions and/or group on DB: <testdb2>
org.apache.hadoop.security.AccessControlException: Permission denied
{code}
--
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