Bug 1086 - mount.cifs does not treat 'read-only' option correctly
mount.cifs does not treat 'read-only' option correctly
Product: CifsVFS
Classification: Unclassified
Component: kernel fs
All All
: P3 normal
: ---
Assigned To: Steve French
Depends on:
  Show dependency treegraph
Reported: 2004-02-16 07:34 UTC by Takeshi HASEGAWA
Modified: 2004-02-17 14:53 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Takeshi HASEGAWA 2004-02-16 07:34:13 UTC
reading the patch of Samba 3.0.2a, I noticed that
there is a wrong parameter for strcmp function.

samba-3.0.2a/source/client/mount.cifs.c	Thu Feb 12 12:54:37 2004

 } else if (strncmp(data, "ro", 3) == 0) {

shouble be 2?
Comment 1 Steve French 2004-02-17 14:53:28 UTC
fixed and checked into samba cvs - thanks for point this out