Bug 5741 - Adding a file to a write only directory fails
Summary: Adding a file to a write only directory fails
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.28
Hardware: x86 Windows XP
: P3 major
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-08 08:32 UTC by Tom Merrick
Modified: 2008-09-08 08:32 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Merrick 2008-09-08 08:32:02 UTC
We have a series of write only directories with 2733 access code under unix. They all have the same group, which is forced in samba. When trying to drop a file into the directory from an XP Windows client, it fails with an Access Denied probably due to a Write Protected directory. This works on a samba 3.0.10 system. The share information is:

[dropbox]
    comment = Faculty Dropboxes
    path = /a7/camslab/dropbox
    browseable = no
    writeable = yes
    guest ok = no
    create mask = 0444
    force group = dropbox

Here is the log information on it:

[2008/09/05 08:41:03, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password: authentication for user [test] -> [test] -> [test] succeeded
[2008/09/05 08:41:03, 1] smbd/service.c:make_connection_snum(1033)
  ci342-01 (165.95.5.184) connect to service dropbox initially as user test (uid=848, gid=400) (pid 30448)
[2008/09/05 08:41:09, 2] smbd/open.c:open_directory(2092)
  open_directory: unable to create ptedford. Error was NT_STATUS_OBJECT_NAME_COLLISION

If you look at the folder security information under windows XP, under advanced it shows "write & execute" under the 3.0.10 version of samba and "special" with the current 3.0.28 version. And in the special information the read attributes box is not checked on the 3.0.28 version of samba.