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

Launchpad Bug Tracker 1702529 at bugs.launchpad.net
Wed Aug 23 11:23:23 UTC 2017


You have been subscribed to a public bug by Dariusz Gadomski (dgadomski):

[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 -d 5 -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.

[Other Info]
 
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.

** Affects: samba
     Importance: Unknown
         Status: Unknown

** Affects: samba (Ubuntu)
     Importance: Medium
     Assignee: Dariusz Gadomski (dgadomski)
         Status: In Progress

-- 
 ACCESS_DENIED with symlinks within a root ("/") share
https://bugs.launchpad.net/bugs/1702529
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list