mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
feature(commander) uid -> owner
This commit is contained in:
parent
8990d0c0e7
commit
5cc575d284
3 changed files with 11 additions and 11 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue