Bug 76674

Summary: mc in ftpfs, symlinks with slash to directories
Product: [Retired] Red Hat Linux Reporter: Jan Martinek <honza>
Component: mcAssignee: Jindrich Novy <jnovy>
Status: CLOSED RAWHIDE QA Contact: Jay Turner <jturner>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: leonard-rh-bugzilla, mitr, pknirsch, srevivo
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-24 10:52:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Martinek 2002-10-24 20:38:52 UTC
Description of Problem:
while browsing remote ftp filesystem, mc
sees symlinks to directories as broken in case when symlink
is created with a slash on its end, like
linktodir -> directory/
and when attempt is made to follow the link in mc, error "No action taken"
is displayed. 

Version-Release number of selected component (if applicable):

mc-4.5.55-12.i386.rpm

How Reproducible:
try this:
mc ftp://uf.fce.vutbr.cz/pub/testsymlinks

Steps to Reproduce:
1. Make a symlink to a directory and add a slash "/" to the end
   of the symlink name.
2. connect to such filesystem via ftp (using mc)
3. the link named "link/" will appear as broken

Actual Results:
the link is shown as broken

Expected Results:
links should work as expected, double slash should be interpretted
as a single slash

Additional Information:

Comment 1 Leonard den Ottolander 2004-08-24 17:45:15 UTC
Would the FTP server be a Windows box? You can't add slashes to the
end of a link name on Linux...

Could you setup another test URL?


Comment 2 Jindrich Novy 2005-05-24 10:52:40 UTC
This seems to be fixed by upstream in mc-4.6.1a-0.9.