# setExecute

abstract fun setExecute(execute: Boolean)(source)

Enables or disables execute access to a file or directory for a certain class of users.

Execute access grant the capability to run a file as a program; executing a directory doesn't really make sense, it's more like a traverse permission; for example, a user must have 'execute' access to the 'bin' directory in order to execute the 'ls' or 'cd' commands.