[Samba] unix_convert problem?

Oliver Schulze L. oliver at samera.com.py
Fri Jun 3 17:28:30 GMT 2005


Hi Jeremy,
it was a open issue and a permision problem in Linux.
This issue is solved, thanks for the reply.

I solved by:
- deleting the -s attribut to the directory of the share: chmod g-s -R Data
- adding these parameters to the share config
  force create mode = 0660
  force directory mode = 0770

Thanks
Oliver

I send the more logs so others can search the archive of the list:

[2005/06/03 10:34:11, 3] smbd/process.c:switch_message(886)
  switch message SMBntcreateX (pid 2700) conn 0x9c25fe8
[2005/06/03 10:34:11, 4] smbd/uid.c:change_to_user(194)
  change_to_user: Skipping user change - already user
[2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(108)
  unix_convert called on file "data/8WBS0043.TMP"
[2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(179)
  unix_convert begin: name = Data/8WBS0043.TMP, dirpath = Data, start = 
8WBS0043.TMP
[2005/06/03 10:34:11, 5] smbd/filename.c:unix_convert(328)
  New file 8WBS0043.TMP
[2005/06/03 10:34:11, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(Data/8WBS0043.TMP) returning 0764
[2005/06/03 10:34:11, 5] smbd/files.c:file_new(122)
  allocated file structure 7550, fnum = 11646 (9 used)
[2005/06/03 10:34:11, 4] smbd/open.c:open_file_shared1(1244)
  calling open_file with flags=0x2 flags2=0x240 mode=0764
[2005/06/03 10:34:11, 3] smbd/open.c:open_file(178)
  Error opening file Data/8WBS0043.TMP (Permission denied) 
(local_flags=66) (flags=578)
[2005/06/03 10:34:11, 5] smbd/files.c:file_free(385)
  freed files structure 11646 (8 used)
[2005/06/03 10:34:11, 3] smbd/error.c:error_packet(105)
  error string = Permission denied
[2005/06/03 10:34:11, 3] smbd/error.c:error_packet(129)
  error packet at smbd/trans2.c(2243) cmd=162 (SMBntcreateX) 
NT_STATUS_ACCESS_DENIED
[2005/06/03 10:34:11, 5] lib/util.c:show_msg(486)
[2005/06/03 10:34:11, 5] lib/util.c:show_msg(496)



Jeremy Allison wrote:

> Are you sure it was a create issue ? Maybe the client only asked
>
>for open privillages, not create. I'd need more log to be sure.
>
>Jeremy.
>  
>

-- 
Oliver Schulze L.
<oliver at samera.com.py>



More information about the samba mailing list