You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Pete Wyckoff <pw...@facebook.com> on 2008/10/14 03:21:39 UTC
Requiring super user for getStats
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
Re: Requiring super user for getStats
Posted by Brian Bockelman <bb...@cse.unl.edu>.
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