Search code examples
mc

How do I use panelize in Midnight Commander? I want to know since this is a way to do a recursive chmod on selected files and directories


I know I can use chmod and advanced chmod but they do not offer me a way to recursively change permissions on the filed and folders. Panelize seems to be able to do that. However I seem not to get any results if I select files with Ctrl-t and then choose panelize.


Solution

  • I don't know what the command "Panelize" in Left/Right menus does. It's not documented and I've never made it to work.

    The only working "Panelize" I know is in "Find file": F9 | Command | Find file. Find, get a list of files, press "Panelize", get a panel full of found files, work with the files.

    If you just need to run chmod/chown on a few directories recursively without excludes it's faster and simpler (for me) to run the commands in the command line. Tag (select) directories and run (for example):

    chmod -R u=rwX,go=rX %s
    chown -R root.root %s
    

    %s will be replaces by the list of tagged directories/files or the current one if none is tagged.