-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Add a shortcut to view permissions and extended attributes on selected object? #116
Comments
I like this idea. But we need to think it through. What gonna be displayed and how. |
Could start by just listing The other option is to reflow the terminal and list it below the selected item if the terminal is too narrow for the output...? EDIT: You know what, by default, I would suggest listing the The reason for doing it like this is that, on SELinux systems, This gives you the freedom to come up with a nice way to list extended attributes below the stat output once you settle on a good viewing format? |
Here's the output of the most useful permission and file info tests I could come up with:
Notice how, if there are extended attributes (in this case ACL attributes) associated with a file, the |
Let’s just start with a bar at the end with permission/user/group, size (kb,MB,GB), modtime. |
Good call. Note that my rationale for suggesting the addition of an easy way to view extended attributes/ACLs for files is that, currently (to the best of my knowledge) no low-friction UX exists for doing so. I see |
Just noting that I found POSIX Access Control Lists on Linux rather enlightening re. the |
v
shortcut to view permissions and extended attributes on selected object?
I do not like the idea to "show file info" but rather "switch navigation mode". For example, we can use a key shortcut for switch from I think in Check this out: kice@1c7829f |
Walk is great and is exactly what I've been looking for in an easy and convenient ls/cd replacement.
On systems with extended attributes, it might be super handy if walk had a way to show default (
ls -l
) and extended permissions (getfattr
) with a shortcut for any particular highlighted file or directory?The shortcut I would suggest is
v
, since that only changes the mode in vim/neovim and isn't associated with any other motion to the best of my knowledge.Let me know what you think.
The text was updated successfully, but these errors were encountered: