Hi I'm looking to update the permissions of a bunch of folders within a dir (not recursively), but I'd like to display the dirs prior to making changes -- measure twice, then cut.
find /etc/*/ -maxdepth 0 -type d -exec ls -dal {} \; --seems to display the list of dirs for the test folder... I can then find /etc/*/ -maxdepth 0 -type d -exec chmod XXX {} \; (which would match what the dirs are from a cloned system..) Is this the "best" approach? thanks -- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue