You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2015/08/22 01:11:45 UTC
[jira] [Assigned] (FELIX-4969) cd refuses to leave initial
directory
[ https://issues.apache.org/jira/browse/FELIX-4969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Jencks reassigned FELIX-4969:
-----------------------------------
Assignee: David Jencks
> cd refuses to leave initial directory
> --------------------------------------
>
> Key: FELIX-4969
> URL: https://issues.apache.org/jira/browse/FELIX-4969
> Project: Felix
> Issue Type: Bug
> Components: Gogo Command
> Affects Versions: gogo.command-0.12.0
> Reporter: Benson Margulies
> Assignee: David Jencks
>
> Actually observed in gogo command 0.14.0.
> The implementation of the cd command in Files.java won't permit an absolute pathname with ordinary syntax. If I type extra slashes, it stops complaining -- but it also doesn't change the directory.
> {noformat}
> basis-osgi> cd /tmp
> gogo: IOException: Directory does not exist
> basis-osgi>
> basis-osgi> cd //tmp
> Name gogo
> Parent /Users/benson/x/rosette-osgi
> CanonicalPath /Users/benson/x/rosette-osgi/gogo
> Path /Users/benson/x/rosette-osgi/gogo
> ParentFile /Users/benson/x/rosette-osgi
> AbsolutePath /Users/benson/x/rosette-osgi/gogo
> AbsoluteFile /Users/benson/x/rosette-osgi/gogo
> CanonicalFile /Users/benson/x/rosette-osgi/gogo
> TotalSpace 999334871040
> FreeSpace 247179890688
> UsableSpace 246917746688
> {noformat}
> It's also awfully noisy.
> A patch will be forthcoming to the refusal.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)