hi,
i've a machine on which FC4 is installed. and on this machine, i want to create the share folders which will be available from Win Machines. of course, i use Samba [ver. 3.0.14a-2] and /etc/samba/smb.conf :
##########################################
[global]
workgroup = MyworkGroup
netbios name = SHARING_MACHINE
server string = Samba
hosts allow = 10.0.3. 127.
log file = /var/log/samba/%m.log
max log size = 10000
security = share
load printers = no
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
preferred master = yes
dns proxy = no
invalid users = root guest
### GROUPS ###############################
[TECH]
comment = Tech Dept Directory
writeable = yes
valid users = @tech
path = /data/tech/
create mode = 0660
directory mode = 0770
#### USERS ###############################
[TECH-USER1]
comment = USER1 directory
path = /data/users/user1
valid users = user1
browseable = yes
public = yes
writable = yes
delete readonly = yes
hide dot files = yes
[TECH-USER2]
comment = USER2 home directory
path = /data/users/user2
valid users = user
public = yes
writable = yes
###########################################
and the privileges for the shared folder is something like that :
drwx------ 3 user1 tech 4096 Mar 8 14:15 user1
drwx------ 3 user2 tech 4096 Mar 8 14:15 user2
drwxrwx--- 2 tech tech 4096 Mar 8 14:18 tech
###########################################
i easily do scp to these directories with the users.
and the problem is coming :
when i try to connect form Win machine to these, i can look into the user1's directory and tech's directory (and respectively user2), also copy the files from here to Win Local. But i can not change their content, name or create new file, copy a file into the directories. i get this error :
When copying :
"Cannot copy t.txt : Access is denied. Make sure the disk is not full or write-protected and that file is not currently in use."
When changing content/filename:
"check your write privileges...etc"
It seems a "Read-only" problem. But i gave all rights to the users and also i tried all combinations of "writable / read only / ... etc" properties.
and i read this link:
http://www.linuxquestions.org/questi...threadid=56693
doesnot work for my attempt...
i will be preciated if anyone of you can help me about this problem!...
Thanks in advance....