carlo wrote:
So, why the permissions attribute of a normal file in Windows is 0 (zero)?
The implementation of GetPermission is rather odd, it never assigns a value to the out parameter. Looks like someone started to implement it, but never finished.

I tried to set it to 0400 or other kind of permissions but it just doesn't
work.
chmod("file", 0400); works, so unless the resolve of the file name is broken, it should work. If it's not its a bug and should be fixed.

Is there a way to create and hidden file?

I don't believe there's any way to do this within XPCOM

David


Reply via email to