Hi,

on Wed, 3 Aug 2005, Joachim Breitner wrote in response to my bug report:

 > > Mail::Box::File ignores this, claiming the folder in question is
 > > readonly. It seems that it only uses "-w" to determine the access rights,
 > > which gives the wrong naswer if ACLs are used.
 > 
 > Isn't that then a bug in the "-w" functionality of perl, or is it
 > explicitly said to ignore ACLs? And could you give us a hint how the
 > module _should_ check for writability?

The perl documentation says explicitly that -w and friends only look at 
the mode bits, not at ACLs.

Even if -w did respect local filesystem ACLs, it would not work with 
certain network file systems, for example AFS.

I'm afraid that only safe way to check for writability is to try to 
open a file.

 Cheers,
   Rainer


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to