diff options
author | Jeremy Allison <jra@samba.org> | 2021-04-06 11:53:40 -0700 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2021-04-07 15:39:45 +0000 |
commit | d590d9130ee28cc0c39d605015f4b5904ba582f5 (patch) | |
tree | 9f85d1cef11120529e439c08f00d9f427ff7760f /selftest | |
parent | eb3a578b0beaf27a5baa80e1549537c826293eaf (diff) | |
download | samba-d590d9130ee28cc0c39d605015f4b5904ba582f5.tar.gz |
s3: smbd: Fix parent_pathref() to cope with symlink parents.
We know that the parent name must
exist, and the name has been canonicalized
even if this was a POSIX pathname.
Ensure that we follow symlinks for
the parent. See the torture test
POSIX-SYMLINK-PARENT for details.
Remove knownfail entry.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Apr 7 15:39:45 UTC 2021 on sn-devel-184
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/knownfail.d/symlink_parent | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/selftest/knownfail.d/symlink_parent b/selftest/knownfail.d/symlink_parent deleted file mode 100644 index 752bab94ca3..00000000000 --- a/selftest/knownfail.d/symlink_parent +++ /dev/null @@ -1,2 +0,0 @@ -^samba3.smbtorture_s3.plain.*POSIX-SYMLINK-PARENT -^samba3.smbtorture_s3.crypt.*POSIX-SYMLINK-PARENT |