Menu

#64 filereadable / chmod

Submitted Fault
open
nobody
General (7)
5
2003-11-03
2003-11-03
Anonymous
No

I have been using SouperMail for 2 years now and am
still very happy with
its performance.

I think I may have found a bug in the 'filereadable'
parameter, however:

Line 357 (of the hideFile subroutine)
chmod 0266, $filename;

This is supposed to make the file illegible to a browser,
but instead it
makes it legible for the browser, but untouchable by FTP
(Owner). I think
this is a typo and should be:

chmod 0626, $filename;

instead.

When I changed the code on my version accordingly,
everything worked as I
had expected.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB