> I will try to test by forcing File permissions on my system, and see
> what copyfile() does.
I tested for different combinaison of permissions ('w', 'r', 'x'): copyfile() keeps them unchanged. (Permissions are kept for 'user' only, I guess permission mask or something like that for 'group' and 'other'.)
--
Jean-Yves