cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-5913) cordova create --link fails on Win without admin privileges
Date Tue, 28 Jan 2014 02:56:39 GMT

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

Mime
View raw message