Err 13 permission denied when trying to save screenshot

Asked by diego

I switched to Mac OS Sierra from El Capitan and this error appeared:

IOError ( [Errno 13] Permission denied: '/Users/macuser/Dropbox/sikuli/images/instructions.png' )

Here is the relevant code:

reg = Region(Region(278,216,390,119))
img = capture(reg)
shutil.move(img, "/Users/macuser/Dropbox/sikuli/images/prompt.png")

I chmod'd 777 the images folder, but still nothing.

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

Has surely nothing to do with SikuliX.

As mentioned:
At this moment, the file system does not have a valid permission to write to the dropbox folder.

So revise your system/dropbox setup.

Revision history for this message
diego (adrian-veidt) said :
#2

Thanks RaiMan, that solved my question.

Revision history for this message
diego (adrian-veidt) said :
#3

It was my bad. Wrong path after changing system. Dropbox works by default with chmoding anything

Thanks!