Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Build Status Github workflow codecov packagecloud

execpermfix

About

execpermfix is a tool that fixes executable permissions of files and directories.

It first finds out if the file is executable or not by checking if it starts with the ELF magic number or "#!".

If the file is executable, execpermfix sets the executable bit of user/group/other only if the read bit is set. If the file is not executable, all executable bits are cleared.

Directories are always considered executable.

Usage

execpermfix -h
execpermfix -V
execpermfix [-v] [-n] <files/directories>

Options

-h Help.

-V Version information.

-v Verbose, show files changed.

-n Dry-run: do not change any permissions. Use with -v to check file with wrong permissions.

About

"Fixes" executable permission of files and diretories in Unix

Topics

Resources

License

Packages

No packages published