With 2.0.7, the standard unix setgid mode behavor was lost. Samba does mkdir() and chmod(), while all previous versions uses mkdir() only: /******************************************************************* Mkdir() that calls dos_to_unix. Cope with UNIXes that don't allow high order mode bits on mkdir. Patch from gcarter. ********************************************************************/ int dos_mkdir(char *dname,mode_t mode) { int ret = mkdir(dos_to_unix(dname,False),mode); if(!ret) <<<< return(dos_chmod(dname,mode)); <<<< else <<<< return ret; } Should remove marked lines from lib/doscalls.c. I know about "inherit permissions" -- this is a dangerous parameter.
Created attachment 298 [details] patch that removes last (2.0.7) changes around mkdir() call
Created attachment 299 [details] patch that removes last (2.0.7) changes around mkdir() call
Created attachment 300 [details] patch for .spec file to use previous patch -- oops, forget to add changelog entry:)
Created attachment 301 [details] patch for .spec file to use previous patch -- oops, forget to add changelog entry:)
Created attachment 302 [details] patch for .spec file to use previous patch -- oops, forget to add changelog entry:)
Created attachment 303 [details] patch for .spec file to use previous patch -- oops, forget to add changelog entry:)
Wow! Bugzilla seemed to be broken today :) When I press "attach file" button, it times out. So I pressed this button more times, and we see a funny result. Use the first and last patches please :)
Added in 2.0.7-24. Apologies for the delay.