-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux files attributes in Ctrl-A and Files highlighting #1843
Comments
Formally chattr is not really extended attributes, its 'usual' attributes, extended are those operated by fgetxattr/fsetxattr/flistxattr They're used to map SELinux policies, for instance. |
Some of chattr attributes like c=compressed or C=no copy-on-write or u=undeletable or X, Z = experimental compression interesting and by Ctrl+A may be useful to show it together with Immutable and Append. For me Files highlighting for these attributes is not such important, but draft idea about balance for speed and possibility: make extra syscall only if Files highlighting have item depended on such attributes. |
As real user, I personally interested in "compressed" and "copy-on-write" attributes, which are very useful for fine tuning underlying BTRFS filesystem. |
В целом по атрибутам lsattr - я столкнулся с ними в коммерческом софте (безопасники их иногда юзают для записи в журнале при доступе к чувствительным данным) - rsync не восстанавливал их с бэкапа если файл удален был - потому появилась заметка https://t.me/far2l_ru/11749
Только 1 вопрос открытый - скольким людям это нужно? "Из атрибутов сейчас far2l понимает только Append и Immutable" - но не копирует их |
Сделал отдельный диалог для кучи известных мне атрибутов / флагов пока работающий только с отдельным файлом: #2614 |
Now Ctrl-A can works with extended attributes Immutable and Append, but these attributes can not be operate in Files highlighting 😿
Also Linux has other extended attributes (see https://en.wikipedia.org/wiki/Chattr or
man chattr
). It would be useful show all these attributes in Ctrl-A as disabled checkboxs (now only for quick information without possibility for its changing in far2l).May be use new design of Ctrl-A dialog with:
where in last group compact information about all extended attributes according with attribute character from
man chattr
and attribute from A to V disabled to change in the first implementationAfter all attributes will be recognize in far2l will be good to add possibility to operate with each in Files highlighting.
The text was updated successfully, but these errors were encountered: