Skip to content

Are you learning file permissions? Well this will definitely help you.

Notifications You must be signed in to change notification settings

pentestfunctions/permissioncheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

File Permission Checker 🔏

About ℹ️

This script, permissioncheck, is a powerful tool to inspect file permissions on Unix-based systems. It provides detailed information about the ownership, group, and type of a file or directory, along with a user-friendly summary of the permissions for the user, group, and others.

Installation 💾

Using Clipboard Copy (Recommended for Quick Use):

  1. Install xclip if not already installed:
    sudo apt-get install xclip
  2. Copy the script to your clipboard:
    permissioncheck=$(curl https://raw.githubusercontent.com/pentestfunctions/permissioncheck/main/permissioncheck); echo $suidcheck | xclip -sel clipboard
  3. Once copied to your clipboard with the above command, you can now paste it into your terminal and press enter.

image

Traditional Method:

  1. Copy the contents and paste directly into your terminal
  2. Voila! The function has been created that you can call on.

Usage ⌨️

To check the permissions of a file or directory, simply run:

permissioncheck [file/directory path]

Output 📃

The script outputs detailed information about the file or directory specified, including:

  • File type (e.g., Regular File, Directory, Symbolic Link)
  • Owner and group information
  • Read, write, and execute permissions for user, group, and others

Contributing 🙋

Feel free to fork the repository and submit pull requests.

License 📜

Distributed under the MIT License.

Support ⭐

If you like this project, please consider starring the repo!

About

Are you learning file permissions? Well this will definitely help you.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published