FRANCO FERNANDES
2001-Oct-08 23:37 UTC
Problem faced while defining permissions for read & wirte access
Hi! I have got a requirement of defining a share,where one user should have reader rights & other should be having write rights.The definition is as below comment = Testing Permissions path = /usr/local/support valid users = ibm, god read list = ibm write list = god read only = No when i define this the user=GOD gets permissions properly i.e=write But the user=IBM also gets write permissions instead of read. I have relaxed the permissions on unix by giving 0777 to the path i.e drwxrwxrwx 3 root root 4096 Oct 9 11:53 support This happens to every share which i create & my smb.conf file is tested from the diagnosis.txt Is there any thing which I am missing Please revert to me asap Thanks in advance Franco.F
Joel Hammer
2001-Oct-09 03:58 UTC
Problem faced while defining permissions for read & wirte access
Maybe your users are not being recognized by samba. Use %U and %u to see which names are being reported as the client name and the user name of this share. If not recognized, either user will have write access because of the read only = no. Try making read only = yes or drop it entirely and see what happens. Joel On Tue, Oct 09, 2001 at 11:17:42AM +0530, FRANCO FERNANDES wrote:> > > > Hi! > I have got a requirement of defining a share,where one user should have > reader rights & other should be having write rights.The definition is as > below > > comment = Testing Permissions > path = /usr/local/support > valid users = ibm, god > read list = ibm > write list = god > read only = No > > when i define this the user=GOD gets permissions properly i.e=write > But the user=IBM also gets write permissions instead of read. > I have relaxed the permissions on unix by giving 0777 to the path >