← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1702529] Re: ACCESS_DENIED with symlinks within a root ("/") share

 

This bug was fixed in the package samba - 2:4.3.11+dfsg-
0ubuntu0.14.04.11

---------------
samba (2:4.3.11+dfsg-0ubuntu0.14.04.11) trusty; urgency=medium

  * d/p/bug_1702529_EACCESS_with_rootshare.patch:
    Handle corner case for / shares. (LP: #1702529)

 -- Dariusz Gadomski <dariusz.gadomski@xxxxxxxxxxxxx>  Wed, 23 Aug 2017
11:36:59 +0200

** Changed in: samba (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1702529

Title:
   ACCESS_DENIED with symlinks within a root ("/") share

Status in samba:
  Unknown
Status in samba package in Ubuntu:
  Fix Released
Status in samba source package in Trusty:
  Fix Released
Status in samba source package in Xenial:
  Fix Released
Status in samba source package in Zesty:
  Fix Released

Bug description:
  [Impact]

   * In case of accessing directories chdir to it directly instead of
  its parent directory. This changes how dir symlinks are handled in
  root shares and leads to avoiding the ACCESS_DENIED ISSUE.

  [Test Case]

   1. Prepare smb server with a share:
  [rootshare]
     guest ok = yes
     path = /
     wide links = no
     follow symlinks = yes
   2. On the server:
  mkdir -p /srv/dir
  ln -s /srv/dir /srv/symdir.
   3. Connect from a client:
  smbclient -m smb3 //server/rootshare -c "cd srv\symdir; dir"

  [Regression Potential]

   * When accessing broken symlinks share's base directory is accessed.
  This however seems to be consistent with a pre-fix behavior.

   * One autopkgtest failure has been found, nothing related to samba so
  another bug has been reported (LP: #1713098) against gvfs DEP8 test.

  For more details: 
     - https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1702529/comments/18

  [Other Info]

  This fix is included in Samba 4.6.7 release so Artful and Debian both
  have it already.

  Original bug description:

  See Samba bug: https://bugzilla.samba.org/show_bug.cgi?id=12873 for
  more information and test case. Also view LP bug:
  https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1701073 for more
  information.

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/1702529/+subscriptions