[Samba] question about Samba share in HTTP root dir [repost]
Anthony Carmody
anthony at carmoda.com
Wed Mar 10 12:55:19 GMT 2004
Hiya,
i have had a HTTP directory tree shared out via SMB on my HTTP
development server for a few years with no trouble. recently however
various files have started becoming read-only as far as my Win2k machine
is concerned.
upon ssh-ing into the tree in question i find all the
permissions are fairly open and i cannot see why i should have any
problem at all. i was wondering if this might have been due to a
M$ patch i might have installed. has anyone heard anything?
i have attempted chmod-ing in various different ways and restarting
samba with mixed results, normally a chmod 775 does the trick.
/////////////////// my smb.conf
# Date: 2004/03/10 00:19:32
# Global parameters
[global]
deadtime = 5
wins server = qube.carmoda.homeunix.org
domain master = No
create mode = 0755
dns proxy = No
encrypt passwords = yes
valid users = carmoda,wwwdev,www, at carmoda, at wwwdev, at www, at wheel, at staff
writable = yes
directory mode = 0755
domain logons = Yes
delete veto files = Yes
max connections = 25
server string = CARMODAFS01
workgroup = WORKGROUP
map system = Yes
map hidden = Yes
delete readonly = yes
log file = /var/log/log.samba
netbios name = CARMODAFS01
guest account = guest-share
os level = 1
default = homes
default case = upper
write list = carmoda,wwwdev,www, at carmoda, at wwwdev, at www, at wheel, at staff
[public]
path = /tmp
guest ok = Yes
[homes]
comment = Home Directories
browseable = No
[wwwdev]
path = /usr/wwwdev
comment = Virtual Web Servers HTTP dirs
valid users = carmoda, at carmoda, at wwwdev, at www, at staff
write list = carmoda, at carmoda, at wwwdev, at www, at staff
create mask = 0664
directory mask = 0775
////////////////// and the log file for the last few days...
2004/03/01 17:02:49, 0] smbd/trans2.c:set_delete_on_close_over_all(2214)
set_delete_on_close_internal: failed to change delete on close flag
for file dig_camera/'04_03_01_01
[2004/03/02 11:17:40, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = Operation timed out
[2004/03/02 14:20:10, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = Operation timed out
[2004/03/02 14:40:19, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = Connection reset by peer
[2004/03/02 22:27:35, 0]
smbd/trans2.c:set_delete_on_close_over_all(2214)
set_delete_on_close_internal: failed to change delete on close flag
for file dig_camera/'04_03_02_01/DCIM/101MSDCF
[2004/03/03 01:16:45, 0]
smbd/trans2.c:set_delete_on_close_over_all(2214)
set_delete_on_close_internal: failed to change delete on close flag
for file pim-tests
[2004/03/04 15:27:46, 0]
smbd/trans2.c:set_delete_on_close_over_all(2214)
set_delete_on_close_internal: failed to change delete on close flag
for file dig_camera/'04_03_04_01
[2004/03/05 00:22:21, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = Operation timed out
[2004/03/09 11:04:50, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = Operation timed out
[2004/03/09 18:01:47, 0] param/loadparm.c:lp_do_parameter(2777)
WARNING: The "alternate permissions"option is deprecated
[2004/03/09 18:03:22, 0] param/loadparm.c:lp_do_parameter(2777)
WARNING: The "alternate permissions"option is deprecated
[2004/03/09 18:11:07, 0] lib/util_sock.c:read_data(436)
read_data: read failure for 4. Error = Connection reset by peer
[2004/03/09 22:46:30, 0] param/loadparm.c:lp_do_parameter(2777)
WARNING: The "alternate permissions"option is deprecated
[2004/03/09 22:59:54, 0] param/loadparm.c:map_parameter(2082)
Unknown parameter encountered: "revalidate"
[2004/03/09 22:59:54, 0] param/loadparm.c:lp_do_parameter(2770)
Ignoring unknown parameter "revalidate"
[2004/03/09 22:59:54, 0] param/loadparm.c:lp_do_parameter(2777)
WARNING: The "alternate permissions"option is deprecated
[2004/03/10 00:21:57, 0] lib/access.c:check_access(333)
Denied connection from (192.168.0.2)
[2004/03/10 00:21:57, 0] lib/access.c:check_access(333)
Denied connection from (192.168.0.2)
[2004/03/10 00:22:00, 0] lib/access.c:check_access(333)
Denied connection from (192.168.0.2)
[2004/03/10 00:22:00, 0] lib/access.c:check_access(333)
Denied connection from (192.168.0.2)
[2004/03/10 00:22:47, 0] lib/access.c:check_access(333)
Denied connection from (192.168.0.2)
[2004/03/10 00:22:47, 0] lib/access.c:check_access(333)
Denied connection from (192.168.0.2)
[2004/03/10 00:23:26, 0] lib/access.c:check_access(333)
Denied connection from (192.168.0.2)
[2004/03/10 00:23:26, 0] lib/access.c:check_access(333)
Denied connection from (192.168.0.2)
[2004/03/10 00:23:28, 0] lib/access.c:check_access(333)
Denied connection from (192.168.0.2)
[2004/03/10 00:23:28, 0] lib/access.c:check_access(333)
Denied connection from (192.168.0.2)
More information about the samba
mailing list