|
||||||||
|
|
#1
|
|
I hv setup the samba server on unix for windows user to access , now
the windows user , I hv share the path /tmp/temp1 for windows user to share , now the windows user can read/write at this path , but the path /tmp/temp1 is mode 777 , if I change it to 775 , the user then can't write something to it . I tried the user can create files at the shell but why can't do it through the samba ? the below is my setting file , please suggest what is the problem ? thx. [temp] path = /tmp/temp1 allow hosts = my IP0 writeable = yes read only = No public = yes create mask = 0664 the below is my smb.conf and /etc/samba/users.map file but still not work , could suggest what is the problem ? thx [global] interfaces = eth0 username map = /etc/samba/users.map password server = 192.168.11.1 wins server = 192.168.11.10 domain master = False security = share encrypt passwords = yes name resolve order = wins lmhosts host bcast workgroup = edp_nt1 server string = uixx1 netbios name = unix1 wins proxy = Yes os level = 20 #vi /etc/samba/users.map user1 = edp-user1 where user1 is the unix login id that can create file at /tmp/temp1 and edp-user1 is my windows ip . Andy |
|
#2
|
|||
|
|||
|
On 2004-10-09, Andy <(E-Mail Removed)> wrote:
> I hv setup the samba server on unix for windows user to access , now What's "hv"? > path /tmp/temp1 is mode 777 , if I change it to 775 , the user then > can't write something to it Your users aren't recognized by the system, so only if the directory is world-writeable it can be written. Change the permission on the directory or put your users in the right group. Davide -- We are using Linux daily to UP our productivity -- so UP yours, Microsoft! |
|
#3
|
|||
|
|||
|
(E-Mail Removed) (Andy) wrote
news:(E-Mail Removed) om: > security = share If you want to identify user on the unix uid, you should better set security = user end add users in the smbpasswd file, using the smbpassword command. Then your are in a unix only problem : - add each user in a common unix group - chgrp the shared directory to the group Regards |
![]() |
| Tags |
| samba, share |
| Thread Tools | |
| Display Modes | |
|
|