| Anonymous | Login | Signup for a new account | 2013-05-26 05:39 UTC | ![]() |
| Main | My View | View Issues | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0004300 | CentOS-5 | kernel | public | 2010-05-05 16:32 | 2010-05-05 16:53 | ||||||
| Reporter | stvnfnly | ||||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||||
| Status | new | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 5.4 | ||||||||||
| Target Version | Fixed in Version | ||||||||||
| Summary | 0004300: CIFS mount allows remote Windows server to move/remove files during write | ||||||||||
| Description | While copying a file across a cifs mount the remote server can move/remove the file. ------------------------------- Machine 1: # cat /etc/issue CentOS release 5.4 (Final) Kernel \r on an \m # uname -a Linux machine1 2.6.18-164.6.1.el5 0000001 SMP Tue Nov 3 16:12:36 EST 2009 x86_64 x86_64 x86_64 GNU/Linux # rpm -qa |grep samba samba-common-3.0.33-3.14.el5 samba-client-3.0.33-3.14.el5 This machine can properly mount rw to a remote Windows Server 2008 R2 share and copy/remove/change perms, etc any file. However an automated application on the remote server can remove/move a file during a copy, and any permission/ownership option fails with a "file not available" error. ------------------------------- Machine 2 # cat /etc/issue Red Hat Enterprise Linux WS release 4 (Nahant Update 8) Kernel \r on an \m # uname -a Linux machine2 2.6.9-89.0.23.ELsmp 0000001 SMP Fri Mar 5 17:56:21 EST 2010 i686 i686 i386 GNU/Linux # rpm -qa |grep samba samba-common-3.0.33-0.18.el4_8.1 samba-client-3.0.33-0.18.el4_8.1 This machine can properly mount rw to the same remote Windows Server 2008 R2 share and copy/remove/etc files. However, an application on that same remote server can not remove/move a file during a copy, and the copy and any permission/ownership options work 100% of the time. ----------------------------------- I cannot easily tell if this issue is with samba-client or with the cifs.ko kernel module. But since the EL4 box always works, I suspect cifs.ko which is part of the kernel RPM. # rpm -qf /lib/modules/2.6.18-164.6.1.el5/kernel/fs/cifs/cifs.ko kernel-2.6.18-164.6.1.el5 | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Notes |
|
|
(0011217) toracat (developer) 2010-05-05 16:53 |
If you suspect that cifs.ko is involved, the best strategy would be to take this up with upstream (samba developers). I suggest this samba mailing list: https://lists.samba.org/mailman/listinfo/linux-cifs-client [^] . Jeff Layton of Red Hat has been quite actively working on the development of cifs. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-05-05 16:32 | stvnfnly | New Issue | |
| 2010-05-05 16:53 | toracat | Note Added: 0011217 | |
| Copyright © 2000 - 2011 MantisBT Group |