Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Does fs.chmod have any effect on Windows platform?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ben Noordhuis  
View profile  
 More options Oct 9 2012, 10:14 am
From: Ben Noordhuis <i...@bnoordhuis.nl>
Date: Tue, 9 Oct 2012 16:13:54 +0200
Local: Tues, Oct 9 2012 10:13 am
Subject: Re: [nodejs] Does fs.chmod have any effect on Windows platform?

On Tue, Oct 9, 2012 at 4:03 PM, Mariusz Nowak <mari...@medikoo.com> 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.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.