You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Arthur Caranta <ar...@caranta.com> on 2010/12/06 15:19:22 UTC

Log files umask/rights

Hi !

I am wondering if there is a way to specify the rights of the logfiles ...

Currently my history logs are chmodded 600 ... I'd need them to be at 
least 644

Any idea ?

-- 
------------------------------
Arthur CARANTA
arthur@caranta.com
http://www.caranta.com
------------------------------



Re: Log files umask/rights

Posted by Arthur Caranta <ar...@caranta.com>.
That's what I thought ... well i'll try to change this and restart the 
cluster ...

Thx ! ;)

On 07/12/2010 12:15, Steve Loughran wrote:
> On 06/12/10 14:19, Arthur Caranta wrote:
>> Hi !
>>
>> I am wondering if there is a way to specify the rights of the 
>> logfiles ...
>>
>> Currently my history logs are chmodded 600 ... I'd need them to be at
>> least 644
>>
>> Any idea ?
>>
>
> at a guess, I'd assume they get written with whatever the default 
> rights of the user/processes are; java doesn't have an easy way of 
> fiddling with unix or other OS security permissions, so they tend to 
> get left alone.
>
> -steve
>



Re: Log files umask/rights

Posted by Steve Loughran <st...@apache.org>.
On 06/12/10 14:19, Arthur Caranta wrote:
> Hi !
>
> I am wondering if there is a way to specify the rights of the logfiles ...
>
> Currently my history logs are chmodded 600 ... I'd need them to be at
> least 644
>
> Any idea ?
>

at a guess, I'd assume they get written with whatever the default rights 
of the user/processes are; java doesn't have an easy way of fiddling 
with unix or other OS security permissions, so they tend to get left alone.

-steve