Thanks, that clarifies. I understand that is also works for files only? at 
least I think there's no effect when trying to change bits for directories 
(?)

On Tuesday, October 9, 2012 4:14:05 PM UTC+2, Ben Noordhuis wrote:
>
> On Tue, Oct 9, 2012 at 4:03 PM, Mariusz Nowak 
> <[email protected]<javascript:>> 
> wrote: 
> > fs.lchmod is only available on OSX, while fs.chmod is available on all 
> > platforms still it seems to have no effect on Windows. 
> > Is it just noop there? Or it has some effect in some cases? 
> > 
> > If anyone knows the answer I'll be grateful. Thanks. 
>
> fs.chmod() on windows is not exactly a no-op, it just doesn't do much. 
> You can flip the read and write bits and that's it. 
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to