AW: [Samba] Permissions problem with 3.0.8

Beschorner Daniel Daniel.Beschorner at facton.com
Tue Nov 9 16:14:44 GMT 2004


We use LDAP backend and Linux 2.6.
It happens only --with-acl-support.
This 2 errors I found in the level 10 log when I try to copy a fresh copied
file a second time on itself (permissions of test file are -r-xrw----, user
and group match)
Maybe the attribute mapping goes another path with acl support?
3.0.7 works fine.

Daniel




[2004/11/09 17:02:02, 10] smbd/open.c:open_file_shared1(1038)
  open_file_shared: fname = bootfont.bin, dos_attrs = 27, share_mode = 41,
ofun = 12, mode = 560, oplock request = 3
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(283)
  dos_mode: bootfont.bin
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
  dos_mode_from_sbuf returning ra
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(315)
  dos_mode returning ra
[2004/11/09 17:02:02, 10] smbd/open.c:open_match_attributes(922)
  open_match_attributes: file bootfont.bin old_dos_mode = 0x21,
existing_mode = 0100560, new_dos_mode = 0x27 returned_mode =
[2004/11/09 17:02:02, 5] smbd/open.c:open_file_shared1(1141)
  open_file_shared: read/write access requested for file bootfont.bin on
read only file
[2004/11/09 17:02:02, 5] smbd/files.c:file_free(385)
  freed files structure 5799 (2 used)
[2004/11/09 17:02:02, 10] smbd/trans2.c:set_bad_path_error(2234)
  set_bad_path_error: err = 13 bad_path = 0
[2004/11/09 17:02:02, 3] smbd/error.c:error_packet(105)
  error string = Permission denied
[2004/11/09 17:02:02, 3] smbd/error.c:error_packet(129)
  error packet at smbd/trans2.c(2243) cmd=162 (SMBntcreateX)
NT_STATUS_ACCESS_DENIED

...

[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(283)
  dos_mode: bootfont.bin
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
  dos_mode_from_sbuf returning ra
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(315)
  dos_mode returning ra
[2004/11/09 17:02:02, 6] smbd/trans2.c:call_trans2setfilepathinfo(3621)
  actime: Wed Apr  2 13:00:00 2003
   modtime: Thu Jan  1 01:00:00 1970
   size: 4952 dosmode: a0
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(283)
  dos_mode: bootfont.bin
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode_from_sbuf(151)
  dos_mode_from_sbuf returning ra
[2004/11/09 17:02:02, 8] smbd/dosmode.c:dos_mode(315)
  dos_mode returning ra
[2004/11/09 17:02:02, 10] smbd/trans2.c:call_trans2setfilepathinfo(3678)
  call_trans2setfilepathinfo: file bootfont.bin : setting dos mode a0
[2004/11/09 17:02:02, 10] smbd/dosmode.c:file_set_dosmode(340)
  file_set_dosmode: setting dos mode 0xa0 on file bootfont.bin
[2004/11/09 17:02:02, 2] smbd/trans2.c:call_trans2setfilepathinfo(3681)
  file_set_dosmode of bootfont.bin failed (No data available)
[2004/11/09 17:02:02, 3] smbd/error.c:error_packet(105)
  error string = No data available
[2004/11/09 17:02:02, 3] smbd/error.c:error_packet(129)
  error packet at smbd/trans2.c(3682) cmd=50 (SMBtrans2)
NT_STATUS_ACCESS_DENIED


-----Ursprüngliche Nachricht-----
Von: Gerald (Jerry) Carter [mailto:jerry at samba.org]
Gesendet: Dienstag, 9. November 2004 15:16
An: Beschorner Daniel
Cc: 'samba at lists.samba.org'
Betreff: Re: [Samba] Permissions problem with 3.0.8

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Beschorner Daniel wrote:
| Since 3.0.8 we have a file permission problem (group related???).
| I didn't take a closer look at it, our production environment went 
| back to 3.0.7.
|
| symptoms: certain files can't be recreated/deleted, but group rights
should
| allow it.
|
| 3.0.7 works fine.

We'll need a lot more information.





cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBkNEaIR7qMdg1EfYRAm3ZAJ9OusYDoQOvA8a/hglSsrn+ctw6DQCg6ugq
Ty8XyPgZBQb24C+qVMpFmpk=
=p3FL
-----END PGP SIGNATURE-----


More information about the samba mailing list