Change directory_create_or_exist()

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


Hi,

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' - 
NT_STATUS_OBJECT_NAME_NOT_FOUND

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

Cheers,

	-- andreas

-- 
Andreas Schneider                   GPG-ID: F33E3FC6
Samba Team                             asn at samba.org
www.samba.org
-------------- 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: <http://lists.samba.org/pipermail/samba-technical/attachments/20110517/dde79e63/attachment.bin>


More information about the samba-technical mailing list