You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/01/28 03:56:41 UTC

[jira] [Resolved] (CB-5913) cordova create --link fails on Win without admin privileges

     [ https://issues.apache.org/jira/browse/CB-5913?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Grieve resolved CB-5913.
-------------------------------

    Resolution: Fixed

We now at least print a good error message. Longer term, we could work around this by having the www/ be configurable via config.xml

> cordova create --link fails on Win without admin privileges 
> ------------------------------------------------------------
>
>                 Key: CB-5913
>                 URL: https://issues.apache.org/jira/browse/CB-5913
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CLI
>            Reporter: Andrew Grieve
>            Assignee: Andrew Grieve
>            Priority: Minor
>
> fs.symlinkSync() throws:
> {quote}
> > try { fs.symlinkSync('a','b'); } catch(e) { foo = e }
> { [Error: EPERM, operation not permitted 'a']
>   errno: 50,
>   code: 'EPERM',
>   path: 'a',
>   syscall: 'symlink' }
> {quote}
> The same call works when running with admin privileges. We should test & catch this case earlier than we currently do.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)