deleting plugins always fails [macOs]
i'm testing OwlPlug 1.27.1 on macOs 15.2 to sort my plugin collection . Unfortunately it's not possible to remove any plugin. All i'm getting is an "Error during plugin removal" I gave OwlPlug full harddrive access.
Anything i could be oding wrong? Can i provide you more information?
Hello @verstaerkermusic,
Thanks for reporting the issue. To help me understanding the root cause, can you extract error logs from your home directory:
/home/{you}/.owlplug/logs
here's one of the log files owlplug.log
and here a log in debug mode owlplug.log
Hello, thanks for the logs !
It seems the apache-commons library used to delete the directory is trying to perform file permission switch before the delete operation.
41823 ERROR c.o.core.tasks.PluginRemoveTask - Plugin File can't be removed: /Library/Audio/Plug-ins/VST3/DC Snares.vst3
...
Caused by: java.io.IOException: Cannot delete file: /Library/Audio/Plug-ins/VST3/DC Snares.vst3/Contents
...
Caused by: java.nio.file.FileSystemException: /Library/Audio/Plug-ins/VST3/DC Snares.vst3/Contents/_CodeSignature/CodeResources: Operation not permitted
at java.base/sun.nio.fs.UnixException.translateToIOException(Unknown Source)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
at java.base/sun.nio.fs.UnixFileAttributeViews$Posix.setMode(Unknown Source)
at java.base/sun.nio.fs.UnixFileAttributeViews$Posix.setPermissions(Unknown Source)
at java.base/java.nio.file.Files.setPosixFilePermissions(Unknown Source)
at org.apache.commons.io.file.PathUtils.setReadOnly(PathUtils.java:933)
It looks like we are facing bug IO-751. The apache-commons lib tries to change file permission on POSIX system even if it's not necessary. After checking the code, the library ignores the readOnly flag set to false and tries to put the file in read-only mode which doesn't make sense for a delete operation.
This bug has been fixed so I'll change the dependency version. The next OwlPlug release should fix the issue 👍
👍
unfortunately i'm not able to run the app . It just says it's damaged and i should throw into bin. There are no options to open in any security settings .
Unfortunately the app is not notarized by Apple (#31), so the damaged app message will be back after each update 😢
The workaround to bypass the error message change with each version of macOS and i don't have a mac to test.
strange - allowed to run all apps, removed quarantine attribute .. still no success. 1.2.7.1 starts without problems
Does the following file has specific file permission ? OwlPlug can't delete it and throws an AccessDeniedException.
/Library/Audio/Plug-ins/VST3/DC Snares.vst3/Contents/_CodeSignature/CodeResources
nothing uncommon .. it requires a sudo command to delete in terminal