Ekleog commented on issue #588:
URL: https://github.com/apache/cordova-cli/issues/588#issuecomment-1326613686

   Sorry for mis-explaining! This is not a `umask` issue, just that the 
`cordova` template repository is `u-w`.
   
   So, as `cordova` basically does `cp -R $templatedir $outdir` ([here for 
cordova 
create](https://github.com/apache/cordova-create/blob/master/index.js#L119), 
though I haven't checked where for cordova platform add), it carries over the 
`u-w` permission that was on the template files (but not on umask or anything), 
and then fails for further changes.
   
   I would definitely not expect `umask u-w` situations to work with cordova, 
but I do think cordova also adding the write permission for the user before 
trying to change files would work. At least I can say that after manually 
fixing up the copied template permissions, everything else seems to work fine :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to