Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permission denied when rm'ing $TMPDIR/imageoptim-cli #148

Closed
JamieMason opened this issue Jun 29, 2017 · 2 comments
Closed

Permission denied when rm'ing $TMPDIR/imageoptim-cli #148

JamieMason opened this issue Jun 29, 2017 · 2 comments

Comments

@JamieMason
Copy link
Owner

When running imageOptim

foldleft at jmason in ~/Development/ImageOptim-CLI on master [$]
$ ./bin/imageOptim -d ~/Desktop -j -a -s -q
Running ImageAlpha...
Running JPEGmini...
Running ImageOptim...
TOTAL was: 5.024kb now: 4.648kb saving: .376kb (7.00%) quality: 97.53953%
rm: /var/folders/3p/tf7_vg1n67g4mtnkq0kxjvw80000gn/T/imageoptim-cli/jpg/Users/foldleft/Desktop: Permission denied
rm: /var/folders/3p/tf7_vg1n67g4mtnkq0kxjvw80000gn/T/imageoptim-cli/jpg/Users/foldleft: Directory not empty
rm: /var/folders/3p/tf7_vg1n67g4mtnkq0kxjvw80000gn/T/imageoptim-cli/jpg/Users: Directory not empty
rm: /var/folders/3p/tf7_vg1n67g4mtnkq0kxjvw80000gn/T/imageoptim-cli/jpg: Directory not empty
rm: /var/folders/3p/tf7_vg1n67g4mtnkq0kxjvw80000gn/T/imageoptim-cli: Directory not empty

Then even when trying to remove the folder yourself;

foldleft at jmason in ~/Development/ImageOptim-CLI on master [$]
$ rm -rf /var/folders/3p/tf7_vg1n67g4mtnkq0kxjvw80000gn/T/imageoptim-cli
rm: /var/folders/3p/tf7_vg1n67g4mtnkq0kxjvw80000gn/T/imageoptim-cli/jpg/Users/foldleft/Desktop: Permission denied
rm: /var/folders/3p/tf7_vg1n67g4mtnkq0kxjvw80000gn/T/imageoptim-cli/jpg/Users/foldleft: Directory not empty
rm: /var/folders/3p/tf7_vg1n67g4mtnkq0kxjvw80000gn/T/imageoptim-cli/jpg/Users: Directory not empty
rm: /var/folders/3p/tf7_vg1n67g4mtnkq0kxjvw80000gn/T/imageoptim-cli/jpg: Directory not empty
rm: /var/folders/3p/tf7_vg1n67g4mtnkq0kxjvw80000gn/T/imageoptim-cli: Directory not empty
@JamieMason
Copy link
Owner Author

Opening the folder in Finder and deleting it from there is a workaround.

JamieMason added a commit that referenced this issue May 13, 2018
closes #137, closes #140, closes #141, closes #148, closes #159

BREAKING CHANGES:

* Version 2.0.0 is a complete rewrite of ImageOptim-CLI with numerous
  changes, please see the README or run `imageoptim --help` to browse
  the new API.
@JamieMason
Copy link
Owner Author

Should be addressed by ImageOptim-CLI 2.0.0 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant