Change directory_create_or_exist()

Andreas Schneider asn at
Tue May 17 07:40:48 MDT 2011


on the buildfarm we see currently the error.

invalid permissions on directory 
'/memdisk/build/samba_4_0_test/st/client/ncalrpcdir': has 0700 should be 0755
../source4/smbd/service_named_pipe.c:206: Failed to create ncalrpc pipe 
directory '/memdisk/build/samba_4_0_test/st/client/ncalrpcdir' - 

Wouldn't it make sense that we try a chmod() to fix the permissions on the 
directory before we fail?


	-- andreas

Andreas Schneider                   GPG-ID: F33E3FC6
Samba Team                             asn at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-util-Try-to-set-the-perms-correctly-if-dir-already-e.patch
Type: text/x-patch
Size: 881 bytes
Desc: not available
URL: <>

More information about the samba-technical mailing list