Results 1 to 6 of 6
I installed samba between centos 5.4 and windws 7 x64.
But at windows 7 I can read but cannot write samba drive.
[global]
hosts deny = ALL
hosts allow = ...
- 08-31-2010 #1Just Joined!
- Join Date
- Sep 2009
- Posts
- 8
samba - read but cannot write at win 7
I installed samba between centos 5.4 and windws 7 x64.
But at windows 7 I can read but cannot write samba drive.
Any comment would be appreciated.[global]
hosts deny = ALL
hosts allow = 192.168.0.0/24
interfaces = eth0
; bind interfaces only = Yes
workgroup = WINDSTORY
server string = Samba Server Version %v
netbios name = maestro_vb
security = share
passdb backend = tdbsam
client ntlmv2 auth = yes
; ntlm auth = yes
; lanman auth = yes
cups options = raw
username map = /etc/samba/smbusers
;encrypt passwords = No
; client plaintext auth = yes
[homes]
comment = Home Directories
browseable = no
writable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
[html]
path = /var/www/html
comment = html-vbox
admin users = maestro
writeable = yes
available = yes
browseable = yes
; printable = no
locking = no
strict locking = no
guest ok = yes
- 09-01-2010 #2
Hi,
Are you give correct permisions to folders according to user that access to it?
- 09-01-2010 #3
- 09-02-2010 #4Just Joined!
- Join Date
- Sep 2009
- Posts
- 8
JosePF/
I made writabel /var/www/html with these commands.
But I could not write any files to directory at windows.chown -R maestro:team /var/www/html
chmod -R 707 /var/www/html
- 09-02-2010 #5
- 09-02-2010 #6Just Joined!
- Join Date
- Jun 2010
- Posts
- 25
Try this it might work
first changeCode:[global] hosts deny = ALL hosts allow = 192.168.0.0/24 #------------- change this interfaces = eth0 ; bind interfaces only = Yes
toCode:hosts allow = 192.168.0.0/24
coz here you have to provide host notation which ends with a dot and you are giving n/w notationCode:hosts allow = 192.168.0.
then give acl permission to user "maestro"
Code:setfacl -m u:maestro:rwx /var/www/html
Add this line to html share conf
and also replaceCode:hosts allow = 192.168.0.
withCode:admin users = mastro
Code:valid users = mastro
Code:[html] path = /var/www/html comment = html-vbox admin users = maestro writeable = yes available = yes browseable = yes ; printable = no locking = no strict locking = no guest ok = yes




Reply With Quote
