From f436ab066ea39279253ae2213f4ffc8f5bd6b6e0 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Thu, 27 Mar 2025 19:51:50 +0100 Subject: [PATCH] feat: show permissions in info:file output Signed-off-by: Robin Appelman --- core/Command/Info/File.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Command/Info/File.php b/core/Command/Info/File.php index 2a557b6768e..a081d1d13e1 100644 --- a/core/Command/Info/File.php +++ b/core/Command/Info/File.php @@ -79,6 +79,7 @@ class File extends Command { $output->writeln(' size: ' . Util::humanFileSize($node->getSize())); $output->writeln(' etag: ' . $node->getEtag()); + $output->writeln(' permissions: ' . $this->fileUtils->formatPermissions($node->getType(), $node->getPermissions())); if ($node instanceof Folder) { $children = $node->getDirectoryListing(); $childSize = array_sum(array_map(function (Node $node) {