stuartcryan / lastpass-alfred-workflow

Simple Lastpass Workflow for Alfred
GNU General Public License v2.0
224 stars 69 forks source link

Login doesn't work if it plugin got synced through Alfred's workflow sync #41

Open jgogstad opened 7 years ago

jgogstad commented 7 years ago

To reproduce

  1. Configure alfred to use a sync directory (like a dropbox folder or something similar)
  2. Install the plugin and make sure it works
  3. Install alfred on another mac and let it sync this plugin through the sync directory (alternatively wipe your drive and reinstall macOS)

The plugin will let you do lpsetemail, but lplogin fails with error message "Unable to retrieve password from askpass". If one reinstalls the plugin by first deleting it from alfred and then importing the workflow-file from github, everything works.

stuartcryan commented 6 years ago

Hi @jgogstad, Thanks for the report, I am having a look at how I can best handle this at the moment, it has to do with the sync not copying the executable bit across. This relies on whatever tool you use for syncing respecting the need to copy the executable permissions, and I am finding a lot of them don't.

I am reviewing how best I can tackle this within best practice (short of running a chmod each time before trying to execute).

I will keep you posted. Cheers, Stuart