feature(commander) uid -> owner

This commit is contained in:
coderaiser 2014-01-21 07:16:32 -05:00
parent 8990d0c0e7
commit 5cc575d284
3 changed files with 11 additions and 11 deletions

View file

@ -410,9 +410,9 @@ var Util;
link = FS + lPath + lFile.name;
target = lFile.size === 'dir' ? '' : "_blank";
size = lFile.size === 'dir' ? '<dir>' : CloudFunc.getShortSize( lFile.size );
owner = !lFile.uid ? 'root' : lFile.uid;
mode = CloudFunc.getSymbolicPermissions(lFile.mode);
owner = lFile.owner ? lFile.owner : 'root';
mode = CloudFunc.getSymbolicPermissions(lFile.mode);
linkResult = Util.render(pLinkTemplate, {
link : link,