You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe this is because writing to the root directory is no longer permitted. I've tried various combinations of "with administrator privileges" and "sudo " suffixes and prefixes on the command to no avail.
I would appreciate knowing that this problem would be fixed in a future update.
I can invoke the script in the terminal and will generate a bash script to handle the parameters. I prefer an AppleScript because it is easier to "drag and drop" a file onto an AppleScript (and impossible to do so with a shell script).
In the meantime, thanks for making this script available!
The text was updated successfully, but these errors were encountered:
I am trying to invoke the command via an AppleScript on macOS 10.15.x
'''
.... (set up the script) ...
do shell script '"/Library/TeX/texbin/pdfcrop --margins '72 0 72 0' (source file path here)"
'''
The script fails with the error below.
!!! Error: Cannot write tmp file `tmp-pdfcrop-NNNNN.tex' (Read-only file system)!
I believe this is because writing to the root directory is no longer permitted. I've tried various combinations of "with administrator privileges" and "sudo " suffixes and prefixes on the command to no avail.
I would appreciate knowing that this problem would be fixed in a future update.
I can invoke the script in the terminal and will generate a bash script to handle the parameters. I prefer an AppleScript because it is easier to "drag and drop" a file onto an AppleScript (and impossible to do so with a shell script).
In the meantime, thanks for making this script available!
The text was updated successfully, but these errors were encountered: