Bug 889748 - KSH - change to hidden directory via parent doesn't work
Summary: KSH - change to hidden directory via parent doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ksh
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-23 08:32 UTC by Arnon Weinberg
Modified: 2013-07-08 09:36 UTC (History)
1 user (show)

Fixed In Version: ksh-20120801-5.fc17
Clone Of:
Environment:
Last Closed: 2013-07-08 09:36:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Arnon Weinberg 2012-12-23 08:32:48 UTC
Description of problem:
In ksh, changing to a hidden directory using a path that contains the parent directory (..) fails.

Version-Release number of selected component (if applicable):
>rpm -q ksh
ksh-20120801-3.fc17.i686

How reproducible:
Always

Steps to Reproduce:
1. cd ~/.ssh
2. cd ../.ssh
  
Actual results:
-ksh: cd: /home/user/ssh: [No such file or directory]

Expected results:
No error.

Additional info:
In my /etc directory, there are both java and .java directories.  I get this result:
# cd /etc/.java
# cd ../.java
# pwd
/etc/java

which suggests that the dot (.) part of the directory name is being stripped as per the error above.

Comment 1 Michal Hlavinka 2013-01-04 17:48:30 UTC
Thanks for reporting this.
Reproducible

Comment 2 Michal Hlavinka 2013-01-25 14:04:44 UTC
I still did not receive any comments about my patch from upstream, but it takes quite long, so I'll use it anyway.

Comment 3 Fedora Update System 2013-01-28 17:14:11 UTC
ksh-20120801-5.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ksh-20120801-5.fc17

Comment 4 Fedora Update System 2013-01-28 17:14:28 UTC
ksh-20120801-5.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ksh-20120801-5.fc18

Comment 5 Fedora Update System 2013-01-30 00:50:23 UTC
Package ksh-20120801-5.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ksh-20120801-5.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-1620/ksh-20120801-5.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-02-04 10:39:21 UTC
ksh-20120801-6.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/ksh-20120801-6.fc17

Comment 7 Fedora Update System 2013-02-04 10:39:39 UTC
ksh-20120801-6.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/ksh-20120801-6.fc18

Comment 8 Fedora Update System 2013-02-14 02:44:26 UTC
ksh-20120801-6.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-02-14 02:46:01 UTC
ksh-20120801-6.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Arnon Weinberg 2013-02-17 20:21:19 UTC
Confirmed fixed now, thank you.

Comment 11 Fedora End Of Life 2013-07-04 07:45:50 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Michal Hlavinka 2013-07-08 09:36:17 UTC
(In reply to Fedora Update System from comment #8)
> ksh-20120801-6.fc17 has been pushed to the Fedora 17 stable repository.  If
> problems still persist, please make note of it in this bug report.

fixed a long time ago, closing


Note You need to log in before you can comment on or make changes to this bug.