I also encountered this permission issue when working with FSKit on physical external volume (e.g. a USB device). The workaround I'm using is to change the owner of the dev node to be the current user:
sudo chown $(whoami) /dev/rdisk6s3
(where disk6s3 is your target disk)
This probably isn't a great long-term solution but it at least got me able to test my module with a physical device.
(Running mount as root didn't work for me either. It's as if it didn't know the FSKit module was there. My assumption was that enabling the module in Settings only enabled it for my user account, and root didn't have it enabled? I suppose based on @DTS Engineer 's suggestion to run mount as root, sudo mount not working is actually a bug though.)
Topic:
App & System Services
SubTopic:
Core OS
Tags: