Bug 200680 - if share name and directory name in the share are the same, first instance of cd'ing into the directory goes to share root
Summary: if share name and directory name in the share are the same, first instance of...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Layton
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-30 19:00 UTC by Tom k
Modified: 2014-06-18 07:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-03-10 04:27:17 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tom k 2006-07-30 19:00:24 UTC
Description of problem:

I think this started happening during the last couple of samba auto-updates. 
First I was forced to change my clients from smbfs to cifs, then the latest 
"a" release broke the clients being able to read.  Somewhere during that time
this started happening.

The problem:  If I have a samba public share (//netfs/public -> /public), and I
have a directory under the share with the same share name (/public/www/public/)
the first time I cd into the directory, it takes me to the root directory of the
share.

For example, I have the directory "temp" in the public directory.  I should be
able to get to the directory by doing a "cd /public/www/public/temp/".  But that
does not work.  Instead I have to do a "cd /public/www/public/www/public/temp".

If it makes a difference, I mount the smb share with autofs.


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

[root@tigger log]# grep samba yum.log 
Jul 15 04:39:39 Updated: samba-common.i386 3.0.23-1.fc4
Jul 15 04:39:44 Updated: samba-client.i386 3.0.23-1.fc4
Jul 15 04:51:01 Updated: samba.i386 3.0.23-1.fc4
Jul 27 06:18:58 Updated: samba-common.i386 3.0.23a-1.fc4.1
Jul 27 06:19:24 Updated: samba-client.i386 3.0.23a-1.fc4.1
Jul 27 06:19:35 Updated: samba.i386 3.0.23a-1.fc4.1


How reproducible:

very

Steps to Reproduce:
1. create a share with name X
2. mount the share
3. create a directory under the share www/X
4. cd into the directory "X/www/X"
5. list directory (ls)
  
Actual results:

root directory of share is shown

Expected results:

contents of directory should be shown

Additional info:

shares are mounted via autofs and are public/guest/writable.

Comment 1 Christian Iseli 2007-01-20 00:28:30 UTC
This report targets the FC3 or FC4 products, which have now been EOL'd.

Could you please check that it still applies to a current Fedora release, and
either update the target product or close it ?

Thanks.

Comment 2 Simo Sorce 2007-03-15 13:53:16 UTC
This is a CIFS VFS related issue, moving to kernel.

Comment 3 petrosyan 2008-03-10 04:27:17 UTC
Fedora Core 4 is no longer maintained.

Setting status to "INSUFFICIENT_DATA". If you can reproduce this bug in the
current Fedora release, please reopen this bug and assign it to the
corresponding Fedora version.


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