Arnab Karmakar has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23714


Change subject: IMPALA-13941: Add helper to format file permissions as 
UNIX-style string
......................................................................

IMPALA-13941: Add helper to format file permissions as UNIX-style string

This change introduces a utility method FormatPermissions() that
converts mode_t permission bits into a human-readable string
(e.g., "drwxrwxrwt"). It correctly handles file type indicators,
owner/group/other read-write-execute bits, and special bits
such as setuid, setgid, and sticky.

This improves log readability and debugging for file metadata-related
operations by providing consistent, ls-style permission formatting.

Testing:
- Added unit tests validating permission string output for:
  - Regular files, directories, symlinks, sockets
  - All rwx combinations for user/group/other
  - setuid, setgid, and sticky bit behavior

Change-Id: Ib53dbecd5c202e33b6e3b5cd3a372a77d8b1703a
---
M be/src/rpc/authentication.cc
M tests/custom_cluster/test_logging.py
2 files changed, 146 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/14/23714/1
--
To view, visit http://gerrit.cloudera.org:8080/23714
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib53dbecd5c202e33b6e3b5cd3a372a77d8b1703a
Gerrit-Change-Number: 23714
Gerrit-PatchSet: 1
Gerrit-Owner: Arnab Karmakar <[email protected]>

Reply via email to