Bug 1384 - File write and read access permision problems
Summary: File write and read access permision problems
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.4
Hardware: All All
: P3 major
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-26 06:07 UTC by Ruben Cheng
Modified: 2006-04-08 22:29 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruben Cheng 2004-05-26 06:07:37 UTC
There is a problem with shares where any client cannot have write access. The 
problem began sinces 3.0.3 (including 3.0.4) because with 3.0.2a, works 
perfectly, even using the same configuration.

I have made some test, and I found that the problem is about the conflict 
between the read only directive, write list and read list. The results of my 
some tests that I did:

1) read only on, user in write list: Write access denied!
2) read only off, user in write list: Write access ok
3) read only off, user in read list and not in write list: Write access ok!

It seems that the read only directive is taken after procesing the write and 
read list. That because, if the read only is off and user is in read list, the 
user can write and the inverse is also true.

The tests was made using smbclient under linux 2.2 x86 and using a Windows XP
Comment 1 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:27:30 UTC
database cleanup
Comment 2 Gerald (Jerry) Carter (dead mail address) 2006-04-08 22:29:20 UTC
Please retest against a current release and reopen if the issue still exists.