Skip to content

untagged-c051f725954cc1448da2: fix: Avoid chmod bashdb if it is already executable.

Compare
Choose a tag to compare
If the installation of the plugin is not owned by the current user, then
it's unlikely that they will have permission to change the mode of the
bashdb file.

To protect against that, we avoid chmod'ing the bundled bashdb if it's
already got the execute bit set, allowing this to be done once for the
installation by a user with write permission.