All of lore.kernel.org
 help / color / mirror / Atom feed
* Mount failure due to restricted access to a point along the mount path
@ 2013-02-04 15:34 Suresh Jayaraman
       [not found] ` <510FD4FD.3010001-IBi9RG/b67k@public.gmane.org>
  0 siblings, 1 reply; 16+ messages in thread
From: Suresh Jayaraman @ 2013-02-04 15:34 UTC (permalink / raw)
  To: linux-cifs, Steve French; +Cc: Pavel Shilovsky, Jeff Layton

Hi all,

I have been looking at the $SUBJECT. And there is already a bug reported
in the samba.org bugzilla

https://bugzilla.samba.org/show_bug.cgi?id=8950

cifs gets "Access denied" while trying to get the root inode. Suppose if
you are trying to mount /share/dir/subdir and if the user doesn't have
access to any of point along the path ie. /share or /dir, mount will fail.

As noted by Jeff Layton in the bug report, this seems to be a known
problem since we started using the shared superblock model. Though we
can work around this problem by providing neccessary permissions for the
entire path, users consider this as a regression. I tend to agree with
them and think that may be we should have addressed this problem before
pushing the shared superblock changes.

>From the changelog it appears that this results in better performance
when we use SMB2.1 leases. How much better performance we are seeing?
Is that worth living with this regression?

Does this affect the CIFS users who are not using SMB2.1 in anyway?


Thanks

-- 
Suresh Jayaraman

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Mount failure due to restricted access to a point along the mount path
@ 2013-05-10 14:13 Miklos Szeredi
  2013-05-10 14:27 ` Jeff Layton
  0 siblings, 1 reply; 16+ messages in thread
From: Miklos Szeredi @ 2013-05-10 14:13 UTC (permalink / raw)
  To: linux-cifs; +Cc: Steve French, Jeff Layton, Kernel Mailing List, sjayaraman

Hi,

A while ago this was discussed:

  http://thread.gmane.org/gmane.linux.kernel.cifs/7779

This is essentially a regression introduced by the shared superblock
changes in 3.0 and several SUSE customers are complaining about it.
I've created a temporary fix which reverts 29 commits related to the
shared superblock changes.  It works, but it's obviously not a
permanent fix, especially since we definitely don't want to diverge
from mainline.

Is this issue being worked on?  Don't other distros have similar reports?

Thanks,
Miklos

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2013-10-07  3:22 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-04 15:34 Mount failure due to restricted access to a point along the mount path Suresh Jayaraman
     [not found] ` <510FD4FD.3010001-IBi9RG/b67k@public.gmane.org>
2013-02-04 19:41   ` Jeff Layton
     [not found]     ` <20130204144152.1c839176-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2013-02-04 19:55       ` Steve French
  -- strict thread matches above, loose matches on Subject: below --
2013-05-10 14:13 Miklos Szeredi
2013-05-10 14:27 ` Jeff Layton
     [not found]   ` <20130510102754.184cd90d-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2013-05-14  8:51     ` Jeff Layton
2013-05-14  8:51       ` Jeff Layton
     [not found]       ` <20130514105119.66a5bc3f-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2013-05-14 10:44         ` Steve French
2013-05-14 10:44           ` Steve French
2013-05-14 11:09           ` Jeff Layton
     [not found]             ` <20130514130906.7f9525bf-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2013-05-14 13:08               ` Steve French
2013-05-14 13:08                 ` Steve French
2013-05-16  6:19         ` Pavel Shilovsky
2013-05-16  6:19           ` Pavel Shilovsky
2013-10-07  3:22     ` Shirish Pargaonkar
2013-10-07  3:22       ` Shirish Pargaonkar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.