hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Bockelman <bbock...@cse.unl.edu>
Subject Re: Requiring super user for getStats
Date Tue, 14 Oct 2008 01:29:00 GMT
Hey Pete,

Actually, isn't this issue for the statfs call, not stat?

getStats returns the used/free/total space for the whole system.

Brian

On Oct 13, 2008, at 8:21 PM, Pete Wyckoff wrote:

>
> https://issues.apache.org/jira/browse/HADOOP-2659 introduced needing  
> super
> user to call getStats and was wondered why it was added since the  
> POSIX stat
> method doesn't require super. this prevents us from correctly  
> implementing
> the POSIX stat function:  https://issues.apache.org/jira/browse/HADOOP-4368 
> .
>
>
>> From man stat:
>
>       You do not need any access rights to the file to
>       get this information but you need search rights to all  
> directories
> named in the path leading to the file.
>
> Thanks, pete


Mime
View raw message