Hi
On Wed, 11 Jan 2006 14:59:29 -0500
Cyber Dog <cyberdog3k(a)gmail.com> wrote:
Sebastian - You're correct, checking read only
DOES fix the problem.
I was implementing the permissions in the NTFS ACLs
(Properties>Security). The NTFS ACL method did NOT seem to work
correctly. I'm not familiar with the PHP method for determining file
security, but apparently it's not accounting for the NTFS ACLs (either
that or I just really screwed up setting them to match...).
Michal - First of all, your fix works fine on Windows, I tested
today's CVS. Secondly, when I removed the Windows OS check you added
and set read-only as Sebastian suggested, it _did_ work properly. I
think if we re-add Windows to the check, the method for setting read
only needs to be documented for Windows....even though some may
consider it obvious, I'm so used to setting the NTFS ACLs for access
rights, I did not even consider setting read only on the entire file.
As the check won't work correctly for ACLs (I'm pretty sure that also
on Linux, but that's not an issue), I'd keep it disabled for Windows,
because there are no levels of unix privileges and all permissions
(user, group and others) are reported same by PHP...
--
Michal Čihař |
http://cihar.com