xaizek / vifm (License: GPLv2+) (since 2018-12-07)
Vifm is a file manager with curses interface, which provides Vi[m]-like environment for managing objects within file systems, extended with some useful ideas from mutt.
Commit da961eb1214361ddd0415492a1852174685ed68a

Fix undo of chmod restoring wrong permissions
Closes #1101 on GitHub.
Author: Kirill Rekhov
Author date (UTC): 2025-12-22 23:25
Committer name: xaizek
Committer date (UTC): 2026-01-12 22:19
Parent(s): 61f68d2a8cba42d19ef2979c9b45becd8cf3812e
Signing key: 99DC5E4DB05F6BE2
Tree: 9e047f444d0877be989eaca3f82366acc6ce61ff
File Lines added Lines deleted
src/modes/dialogs/attr_dialog_nix.c 1 1
File src/modes/dialogs/attr_dialog_nix.c changed (mode: 100644) (index 7dae9a8a9..7a606aee5)
... ... files_chmod(view_t *view, const char mode[], int recurse_dirs)
499 499 while(iter_marked_entries(view, &entry) && !ui_cancellation_requested()) while(iter_marked_entries(view, &entry) && !ui_cancellation_requested())
500 500 { {
501 501 char inv_mode[16]; char inv_mode[16];
502 snprintf(inv_mode, sizeof(inv_mode), "0%o", entry->mode & 0xff);
502 snprintf(inv_mode, sizeof(inv_mode), "0%o", entry->mode & 0777);
503 503
504 504 char path[PATH_MAX + 1]; char path[PATH_MAX + 1];
505 505 get_full_path_of(entry, sizeof(path), path); get_full_path_of(entry, sizeof(path), path);
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/vifm

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/vifm

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master