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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13883689#comment-13883689 ] 

ASF subversion and git services commented on CB-5913:
-----------------------------------------------------

Commit 1f430644cb2df0a4b71ebf67a6e4c1ddc5341696 in branch refs/heads/master from [~agrieve]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1f43064 ]

CB-5913 Fail more gracefully on Windows when symlinks fail.


> 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)