Man page - chmod-calc(1)
Packages contains this manual
- unicode-show(1)
- str_replace(1)
- apparmor-info(8)
- stdisplay(1)
- limit-medium(1)
- upgrade-nonroot(8)
- limit-low(1)
- ld-system-preload-disable(8)
- apparmor-watch(8)
- leaktest(8)
- dpkg-noninteractive(8)
- anon-consensus-del(8)
- pwchange(8)
- chmod-calc(1)
- lsmod-deterministic(8)
- dummy-dependency(8)
- apt-get-noninteractive(8)
apt-get install helper-scripts
Manual
CHMOD-CALC
NAMESYNOPSIS
DESCRIPTION
RETURN VALUES
EXAMPLE
AUTHOR
NAME
chmod-calc - Comprehensive File and Directory Inspection Tool
SYNOPSIS
chmod-calc <file_path>
DESCRIPTION
chmod-calc is a comprehensive file and directory inspection tool that consolidates various Linux command functionalities into a single utility. It displays detailed information about a file or directory, including:
|
• |
Basic permissions (Owner, Group, Public) |
|||
|
• |
Octal representation of permissions |
|||
|
• |
File type (Regular File, Directory, Symlink, Hardlink, etc.) |
|||
|
• |
Owner and group information |
|||
|
• |
Access Control Lists (ACLs) status |
|||
|
• |
Extended attributes (xattr) status |
|||
|
• |
Linux capabilities (getcap) |
|||
|
• |
Immutable attribute (chattr +i) |
|||
|
• |
File size and link count |
|||
|
• |
Special attributes (SUID, SGID, Sticky Bit) |
|||
|
• |
Hidden file detection |
RETURN VALUES
|
• |
0 Successfully retrieved and displayed file information. |
|||
|
• |
1 File not found or an error occurred. |
EXAMPLE
chmod-calc ./example_file
Permissions for: ./example_file
Type: Regular File
Owner: user Group: user
Octal Permissions: 644
File Size: 123 bytes
Link Count: 1
Hidden File: No
ACLs: none
Extended Attributes: none
Capabilities: None
Immutable (chattr +i): No
Category Read Write Execute
Owner Yes Yes No
Group Yes No No
Public Yes No No
Special Attributes:
SUID: Not Set
SGID: Not Set
Sticky Bit: Not Set
AUTHOR
This man page has been written by Patrick Schleizer (adrelanos@whonix.org).