I'm using the FAT32
file system in Linux (as I need to also access it on Windows and OSX), but when I compile with ndk-build
I get the error
install: setting permissions for `./libs/armeabi/libfoo.so': Operation not permitted
I gather it's trying to set more restrictive permissions for the newly-created library, however you cannot change permissions on files in a FAT partition.
Is there any workaround, such as flags in the toolchain to stop it trying to change files' permissions? Or perhaps something in Linux to fake a successful permission change?