I'm using imagecache in conjunction with imce and bueditor. Inserting images into nodes is done via php theme function call, which looks like that:
<?php print theme('imagecache', 'small', 'MyImage.jpg', 'MyText', 'MyText');?>
I've given all users including anonymous users the right "view imagecache small" (and other sizes). The Theming function generates the correct image path /files/imagecache/small/MyImage.jpg. But the images aren't shown for anonymous users. Using the path directly generates an "access denied" error.
After a while i got this working by setting directory attributes to "775" manually for all imagecache directories. But I think this should be done programmatically depending on the defined access rights. Or how can this be managed otherways?