Topic: Dragging PDF from Mail.app doesn't work
Hi,
When dragging a PDF attachment from Mail.app to a folder set up as "Rename and Move files", I get a failure:
[Launching task with command line: runner.rb task-15528]
Task description file task-15528:
ACTION: "/Applications/Setapp/Dropzone.app/Contents/Actions/Rename & Move Files.dzbundle"
EVENT: "dragged"
VARIABLE: "support_folder" "/Users/akrabat/Library/Application Support/Dropzone"
VARIABLE: "dragged_type" "files"
VARIABLE: "app_version" "4.5.8"
VARIABLE: "apple_silicon" "1"
VARIABLE: "RENAMED_FILENAME_0" "2023-05-08 test.pdf"
VARIABLE: "path" "/Users/akrabat/Test"
VARIABLE: "OPERATION" "NSDragOperationCopy"
VARIABLE: "tmp_folder" "/var/folders/65/dy9st3ws33b4khnbgvds6h_80000gn/T/"
ITEMS: "/Users/akrabat/Library/Containers/com.apple.mail/Data/Library/Mail Downloads/94912F93-D352-492F-B5F6-D6F2613D750C/test.pdf"
Determinate: 1
/Applications/Setapp/Dropzone.app/Contents/Actions/Rename & Move Files.dzbundle/action.rb:31:in `rename': Operation not permitted @ rb_file_s_rename - (/Users/akrabat/Library/Containers/com.apple.mail/Data/Library/Mail Downloads/94912F93-D352-492F-B5F6-D6F2613D750C/test.pdf, /Users/akrabat/Library/Containers/com.apple.mail/Data/Library/Mail Downloads/94912F93-D352-492F-B5F6-D6F2613D750C/2023-05-08 test.pdf) (Errno::EPERM)
from /Applications/Setapp/Dropzone.app/Contents/Actions/Rename & Move Files.dzbundle/action.rb:31:in `block in dragged'
from /Applications/Setapp/Dropzone.app/Contents/Actions/Rename & Move Files.dzbundle/action.rb:29:in `each'
from /Applications/Setapp/Dropzone.app/Contents/Actions/Rename & Move Files.dzbundle/action.rb:29:in `dragged'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/runner.rb:76:in `call'
from /Applications/Setapp/Dropzone.app/Contents/Actions/lib/runner.rb:76:in `<main>'
[Task completed]
Is this something that I'm doing wrong or something that needs fixing in the action?