Set file permission attributes
Apache 2.0Set a file's read, write and executable permission attributes.
org. openrewrite. SetFilePermissionsRequired
Permissions will be applied to matching files. This is a glob expression.
File read permission.
File write permission.
Files executable permission.
mod run . --recipe= org. openrewrite. SetFilePermissions \
-P fileMatcher= '**/ gradlew. bat' \
-P isReadable= false \
-P isWritable= false \
-P isExecutable= falseInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.