On Tue, 6 Jan 2004, Jason Parsons wrote:
>17905:  open("./bincimap-scan-lock", O_WRONLY|O_CREAT|O_EXCL, 
>017777763300) Err#13 EACCES
>Investigating a bit...
>With the corresponding truss:
>18843:  open("./bincimap-scan-lock", O_WRONLY|O_CREAT|O_EXCL, 0600) = 3
>Maybe someone who understands this better than me could tell me where 
>your flags came from (017777763300)?

It's garbage. From open(2):

 mode  must  be specified when O_CREAT is in the flags, and
       is ignored otherwise.

>Unrelated question, I note that cache files aren't created for IMAP 
>folders other than the main folder.  Is this by design?  I see an 
>attempt to open a cache, but one is not created.

Perhaps this problem is related. What does the strace say here?

Andy :-)

--
Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP      |  "It is better not to do something
http://www.bincimap.org/ |        than to do it poorly."


Reply via email to