Bug 1086 - mount.cifs does not treat 'read-only' option correctly
Summary: mount.cifs does not treat 'read-only' option correctly
Status: RESOLVED FIXED
Alias: None
Product: CifsVFS
Classification: Unclassified
Component: kernel fs (show other bugs)
Version: 2.4
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Steve French
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-16 07:34 UTC by Takeshi HASEGAWA
Modified: 2004-02-17 14:53 UTC (History)
0 users

See Also:


Attachments

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