Computing: Free Pascal Programming

Interactively change Linux file permissions.


Download lfp source code (Lazarus/Free Pascal)

Description: Linux terminal program to interactively change permissions of files and directories by calling chmod. The program supports recursive change of the permissions of a folder with all files and subdirectories included; chmod may be executed as root (call to "sudo"). File permissions are set by moving around in the "permissions grid" using the TAB key, and hitting "+" to set, "-" to reset, or "=" to keep a given permission.

Note: The binary included in the download archive has been tested on Ubuntu 20.04 and Linux Mint 20.3. It builds correctly on Fedora Workstation 35, whereas the build fails on openSUSE Leap 15 (some problem with the LazUtils package).

To do: The actual version 1.0 does not support file names with wildcards!

Free Pascal features: Procedures of the Crt unit: ClrScr, ClrEol, GotoXY, TextColor, ReadKey. Execution of a Linux command using the RunCommand function.

Screenshot:

Interactively change Linux file permissions

If you like this program, please, support me and this website by signing my guestbook.