* [gentoo-user] [samba] No write to linux shares
@ 2006-08-25 16:39 reader
2006-08-25 22:49 ` Ryan Tandy
[not found] ` <8146fc8a0608251046m44f750c5mcd6b79606b69eea7@mail.gmail.com>
0 siblings, 2 replies; 3+ messages in thread
From: reader @ 2006-08-25 16:39 UTC (permalink / raw
To: gentoo-user
I've posted this here because I know the advice on the samba list will
be to update to samba-3.0.23b from previous posts there, however it
appears there is no ebuild for that in todays sync and I'm not
conversant enough with doing my own to update that way.
Further I'm guessing several people here are running samba-3.0.23a
without this write problem... so rather than argue with developers on
samba list who will just tell me to update and see if problem is still
there, I'm asking for help here from any savvy samba users running the
current build available on portage.
I'm able to see and navigate to the linux shares from a winxp box, but
not able to write to the share. I've defined the share to have write
abiltity like this in smb.conf:
[smWinBk]
comment = ""
valid users = reader Harry
path = /anex2/win_bk/
writeable = yes
guest ok = yes
The log from an attempt to write to the above share shows there is no
write priviledge:
(I'm not sure where the log actually starts for this attempt but will
include a few lines showing the Write=no- (Samba logs are basically
unintelligable far as I can tell))
The line of note is marked off with asterisks and I've included one
before and after. Following the write info line, and dozens of lines
further along we finally see the denial, also marked off with
asterisks.
I've opened a text file named AlienSkin.txt and attempted to alter its
contents using a winxp editor and working from a winxp box.
Can anyone here tell me what might be causing the write failure? I
see no evidence of authentication or password problems so guessing
that isn't an issue here.
============================
[2006/08/25 11:04:42, 3] smbd/dosmode.c:unix_mode(147)
unix_mode(AlienSkin.txt) returning 0744
***
[2006/08/25 11:04:42, 2] smbd/open.c:open_file(352)
Harry opened file AlienSkin.txt read=Yes write=No (numopen=1)
***
[2006/08/25 11:04:42, 3] smbd/oplock_linux.c:linux_set_kernel_oplock(167)
linux_set_kernel_oplock: got kernel oplock on file AlienSkin.txt, dev = 308, inode = 3989, file_id = 1
[...] snipped about 65 lines
[2006/08/25 11:04:48, 3] smbd/dosmode.c:unix_mode(147)
unix_mode(AlienSkin.txt) returning 0744
*****
[2006/08/25 11:04:48, 3] smbd/open.c:open_file(278)
Error opening file AlienSkin.txt (Permission denied) (local_flags=2) (flags=2)
[2006/08/25 11:04:48, 3] smbd/error.c:unix_error_packet(90)
unix_error_packet: error string = Permission denied
****
[2006/08/25 11:04:48, 3] smbd/error.c:error_packet(146)
error packet at smbd/trans2.c(2682) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] [samba] No write to linux shares
2006-08-25 16:39 [gentoo-user] [samba] No write to linux shares reader
@ 2006-08-25 22:49 ` Ryan Tandy
[not found] ` <8146fc8a0608251046m44f750c5mcd6b79606b69eea7@mail.gmail.com>
1 sibling, 0 replies; 3+ messages in thread
From: Ryan Tandy @ 2006-08-25 22:49 UTC (permalink / raw
To: gentoo-user
reader@newsguy.com wrote:
> [smWinBk]
> comment = ""
> valid users = reader Harry
> path = /anex2/win_bk/
> writeable = yes
> guest ok = yes
Are you being logged in as a guest for some reason? Try with "guest ok
= no" and see if anything changes. Don't forget to double check the
local (unix) permissions on the share folder too.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: [samba] No write to linux shares
[not found] ` <8146fc8a0608251046m44f750c5mcd6b79606b69eea7@mail.gmail.com>
@ 2006-08-26 3:09 ` reader
0 siblings, 0 replies; 3+ messages in thread
From: reader @ 2006-08-26 3:09 UTC (permalink / raw
To: gentoo-user
"Andrew Frink" <andrew.frink@gmail.com> writes:
> Do the users unix mapping have write permissions to that dir?
>
yes...
Here is the mapping:
>From /etc/samba/smbusers
root = administrator admin
nobody = guest pcguest smbguest
reader = reader harry Harry
Here is the directory permissions
ls -ld /mnt/pack/pub
drwxr-xr-x 19 reader wheel [...] /mnt/pack/pub
and on the actual file:
-rw-r--r-- 1 reader wheel [...] /mnt/pack/pub/AlienSkin.txt
[...]
Ryan Tandy <tarpman@gmail.com> writes:
[...]
> Are you being logged in as a guest for some reason? Try with "guest
> ok = no" and see if anything changes. Don't forget to double check
> the local (unix) permissions on the share folder too.
> --
I don't know if I'm being logged in as guest or not but making the
change you suggested had no effect.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-08-26 3:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-25 16:39 [gentoo-user] [samba] No write to linux shares reader
2006-08-25 22:49 ` Ryan Tandy
[not found] ` <8146fc8a0608251046m44f750c5mcd6b79606b69eea7@mail.gmail.com>
2006-08-26 3:09 ` [gentoo-user] " reader
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox