Comment 5 for bug 148659

Revision history for this message
kernst (kernst) wrote :

The example given by the original poster shows he is in his home directory (~), but I'll add this here because *I* thought I'd found a bug in 'scrot' that led me here. What I experienced wasn't a bug at all. You can't run 'scrot' from inside a folder you don't have write permissions to unless you give it a full pathname to save somewhere else.

I was in some subdirectory of '/usr/share' and cursing at scrot because I was getting this error:

giblib error: Saving to file 2010-07-11-170539_1600x1200_scrot.png failed

'cd'-ing to my home directory, of course, makes this error go away. Silly, I know, but scrot should probably pick up on the fact that it doesn't have write access and emit a more helpful error message (or default to user's home).

Hopefully this helps someone.