Gentoo Archives: gentoo-user

From: reader@×××××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] [samba] No write to linux shares
Date: Fri, 25 Aug 2006 16:45:45
Message-Id: 877j0w3h2e.fsf@newsguy.com
1 I've posted this here because I know the advice on the samba list will
2 be to update to samba-3.0.23b from previous posts there, however it
3 appears there is no ebuild for that in todays sync and I'm not
4 conversant enough with doing my own to update that way.
5
6 Further I'm guessing several people here are running samba-3.0.23a
7 without this write problem... so rather than argue with developers on
8 samba list who will just tell me to update and see if problem is still
9 there, I'm asking for help here from any savvy samba users running the
10 current build available on portage.
11
12 I'm able to see and navigate to the linux shares from a winxp box, but
13 not able to write to the share. I've defined the share to have write
14 abiltity like this in smb.conf:
15
16 [smWinBk]
17 comment = ""
18 valid users = reader Harry
19 path = /anex2/win_bk/
20 writeable = yes
21 guest ok = yes
22
23
24 The log from an attempt to write to the above share shows there is no
25 write priviledge:
26
27 (I'm not sure where the log actually starts for this attempt but will
28 include a few lines showing the Write=no- (Samba logs are basically
29 unintelligable far as I can tell))
30
31 The line of note is marked off with asterisks and I've included one
32 before and after. Following the write info line, and dozens of lines
33 further along we finally see the denial, also marked off with
34 asterisks.
35
36 I've opened a text file named AlienSkin.txt and attempted to alter its
37 contents using a winxp editor and working from a winxp box.
38
39 Can anyone here tell me what might be causing the write failure? I
40 see no evidence of authentication or password problems so guessing
41 that isn't an issue here.
42
43 ============================
44
45 [2006/08/25 11:04:42, 3] smbd/dosmode.c:unix_mode(147)
46 unix_mode(AlienSkin.txt) returning 0744
47
48 ***
49 [2006/08/25 11:04:42, 2] smbd/open.c:open_file(352)
50 Harry opened file AlienSkin.txt read=Yes write=No (numopen=1)
51 ***
52
53 [2006/08/25 11:04:42, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(167)
54 linux_set_kernel_oplock: got kernel oplock on file AlienSkin.txt, dev = 308, inode = 3989, file_id = 1
55
56 [...] snipped about 65 lines
57
58 [2006/08/25 11:04:48, 3] smbd/dosmode.c:unix_mode(147)
59 unix_mode(AlienSkin.txt) returning 0744
60
61 *****
62 [2006/08/25 11:04:48, 3] smbd/open.c:open_file(278)
63 Error opening file AlienSkin.txt (Permission denied) (local_flags=2) (flags=2)
64 [2006/08/25 11:04:48, 3] smbd/error.c:unix_error_packet(90)
65 unix_error_packet: error string = Permission denied
66 ****
67
68 [2006/08/25 11:04:48, 3] smbd/error.c:error_packet(146)
69 error packet at smbd/trans2.c(2682) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
70
71
72
73
74
75 --
76 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [samba] No write to linux shares Ryan Tandy <tarpman@×××××.com>