Permalink
Browse files

Addig permission display

  • Loading branch information...
1 parent 4c5e79f commit 8303edd1ae32083005ebad83169fd6321c64f3d1 @rbpark committed Mar 19, 2012
@@ -32,8 +32,10 @@
import javax.servlet.http.HttpSession;
import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
+import org.apache.hadoop.fs.permission.FsPermission;
import org.apache.hadoop.security.AccessControlException;
import org.apache.hadoop.security.SecurityUtil;
import org.apache.hadoop.security.UserGroupInformation;
@@ -82,6 +82,7 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<table class="fileTable">
<tr>
<th>File</th>
+ <th>Permission</th>
<th>Owner/Group</th>
<th>Size</th>
<th>Modified Date</th>
@@ -93,6 +94,9 @@ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
${status.path.name}#if($status.isDir())/#end
</a>
</td>
+ <td>
+ ${status.permission}
+ </td>
<td>
${status.owner}/${status.group}
</td>

0 comments on commit 8303edd

Please sign in to comment.