removed directories in cifs mounted share can still appear within application calls
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Fix Released
|
Medium
|
Manoj Iyer |
Bug Description
SRU Justification:
Impact: removed directories in cifs mounted share can still appear within application calls. This could potentially be a security issue?
Fix: A patch from Steve French fixes the problem, [CIFS] revalidate parent inode when rmdir done within that directory
Test: Originator of the bug tested the kernel in http://
---
I found this when updating to subversion 1.5 in hardy backports. Basically a sequence of removing and then confirming a directory has been removed that subversion carries out causes the behaviour. I directory is removed, and then a new readdir call will show the directory is still present.
This has been reported to the samba team and a fix has been comitted to the upstream kernel. Git commit is http://
I have confirmed this patch fixes the problem on intrepid and hardy latest kernels. This probably affects earlier kernels but I cannot confirm.
I have attached a test application that triggers the behaviour.
This bug is stopping us using subversion 1.5 on a cifs mount, and I assume will affect any one else wanting to do the same.
ProblemType: Bug
Architecture: amd64
Date: Thu Jan 15 10:47:16 2009
Dependencies:
DistroRelease: Ubuntu 8.04
NonfreeKernelMo
Package: linux None [modified: /var/lib/
PackageArchitec
ProcEnviron:
PATH=/
LANG=en_NZ.UTF-8
SHELL=
SourcePackage: linux-meta
Uname: Linux 2.6.24-23-generic x86_64
Changed in linux (Ubuntu Jaunty): | |
assignee: | nobody → Manoj Iyer (manjo) |
description: | updated |
Changed in linux (Ubuntu Jaunty): | |
status: | Triaged → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
This is not a bug in the linux-meta package, moving to the linux package.