Post

Replies

Boosts

Views

Activity

EACCESS error accessing raw disk of a FAT32 SD card volume in Ventura
I have an app built with the ElectronJs frame work that includes a native c++ module for MacOS which needs to read the volume id of a portable/external FAT32 volume (SD card). The module is built with XCode into a static lib that then links to the NodeJS runtime of the ElectronJs application. To achieve this, the module opens the raw disk of the corresponding volume: fopen("/dev/rdisk2s1") in order to offset to the correct byte in the FAT32 filesystem for the id. This was working fine pre-Ventura however since then it is now getting EACCESS error. The application was granted Removable Volume access under the Privacy and Security settings. What has changed in Ventura that could cause this change of behavior ?
6
0
799
Nov ’22