dCache / dcache-view

A Web application that provide an easy to use User Interface for dCache System.
Other
1 stars 5 forks source link

file-list: Also display unix mode/permissions #293

Closed ZNikke closed 9 months ago

ZNikke commented 1 year ago

Users sometimes wants to know the mode (permission) flags of objects without having to show the file details of each individual item.

This patch adds the familiar unix ls-style representation to the file listing.

In order to closer resemble the familiar/expected style, the common function convertToNameValueObject() is also augmented with an optional parameter that allows displaying the file type instead of ? since the mode bits available doesn't include this information.

Fixes: https://github.com/dCache/dcache-view/issues/202

ZNikke commented 1 year ago

Updated patch to also be aware of LINK file type, in addition to REGULAR/DIR.

kofemann commented 9 months ago

Thanks!