When I run Applescript from a working shell script I get an error:
Operation not permitted
This is the shell script and it works fine in terminal:
sudo /Users/mbp115/Downloads/ntfs-3g_ntfsprogs-2021.8.22/src/ntfs-3g /dev/disk0s3 /Volumes/Bootcamp
This is the AppleScript and it gives me an error:
on run {input, parameters}
do shell script "sudo /Users/mbp115/Downloads/ntfs-3g_ntfsprogs-2021.8.22/src/ntfs-3g /dev/disk0s3 /Volumes/Bootcamp" with administrator privileges
return input
end run
The error message is:
Syntax error
/bin/sh: /Users/mbp115/Downloads/ntfs-3g_ntfsprogs-2021.8.22/src/ntfs-3g: Operation not permitted
ntfs-3g
was added to the full disk access same asterminal
. How to add/bin/sh
? – startergo Feb 11 '22 at 13:40