kamiyaa / joshuto

ranger-like terminal file manager written in Rust
https://crates.io/crates/joshuto
GNU Lesser General Public License v3.0
3.45k stars 153 forks source link

[Feature Request] Access permission to view #313

Closed gcx1024 closed 1 year ago

gcx1024 commented 1 year ago

I had installed joshuto on the server, but found that I could use it to view other users' home at will. Whether to add permission control functions to ensure security. For example, a directory without access permission is not displayed.

kamiyaa commented 1 year ago

I believe this can be done at the filesystem UNIX permission level? Ie. If we don't want other users viewing our home directory, remove executable permissions for our home directory for other users (rwxr--r--)

gcx1024 commented 1 year ago

indeed, you're right. 😄