1

There are some strangers to Linux who need to use it in terminal mode but they are helplessly limited to accept that using chmod and chown is dead simple.

They would be satisfied only by a tool that asks them in tui mode to select their target and permission rules. Midnight Commander would be fine if it had recursive mode, as they do not know which file is causing the issue and would like to apply the permission rules per directory.

It wouldn't be hard to make a dialog script for this but I'm guessing someone already did it, and would be nice to customize one than to start from scratch.

I'm curious what tool / script do you know of for this?

  • One of the problems with having recursive is that it would need to handle the equivalent of chmod's X (capital) - most often this is in connection with the fact, that while files are generally not executable, directories generally are. – peterph Jun 25 '15 at 7:41
  • Well, there are always terminal based file managers: (e.g., mc and ranger). – HalosGhost Jun 26 '15 at 11:56
  • @HalosGhost mc, Midnight Commander I have mentioned in my question, ranger, seems to be dependent on too many things for what I would want with it. – obeliksz Jun 29 '15 at 12:03
  • As far as I know, no one has created an ncurses/dialog utility solely for changing file permissions (since there is rarely a usecase for only that functionality but not other file management; and when there is, the cli utils are plenty fine). – HalosGhost Jun 29 '15 at 13:12
0

The only TUI based solution that I've found is inside of a file manager called Last File Manager, aka lfm. On F12 there is an option to set permissions and to do it recursively.

Others that I've checked:

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.