[ https://issues.apache.org/jira/browse/FELIX-4969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies updated FELIX-4969: ------------------------------------ Description: 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. was: 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. {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. Summary: cd refuses to leave initial directory (was: cd refuses to leave initial directory without an extra /) > 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 > > 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)