hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Commented] (HIVE-2079) The warehouse directory shouldn't be 777'ed
Date Tue, 13 Sep 2011 23:04:09 GMT


Ashutosh Chauhan commented on HIVE-2079:

Apart from permissions of warehouse dir, ownership of warehouse dir also needs to be fixed.
On a fresh install, warehouse directory doesn't get created while metastore server is starting
and first client doing any filesystem operation ends up being its owner. We already have checkForDefaultDb(),
we similarly need checkForWarehouseDir().

> The warehouse directory shouldn't be 777'ed
> -------------------------------------------
>                 Key: HIVE-2079
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Security
>            Reporter: Devaraj Das
>            Assignee: Mac Yang
> The warehouse directory is created with a permissions of 777. This is to allow any user
to successfully create database/table directories there. The security issue is that anyone
can delete any directory in the warehouse. We should fix this hole.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message