'mkdir -p foo/bar' fails on CIFS share

Anders Karlsson trudheim at gmail.com
Sat Feb 3 20:34:30 GMT 2007


Hi there,

Observed behaviour on a share mounted from a Samba server (3.0.23c) and
CIFS client 1.46 on a FC6 system;

mkdir -p foo/bar                       FAIL, but creates 'foo'
mkdir foo foo/bar                      FAIL, but creates 'foo'
mkdir foo ; mkdir foo/bar              FAIL, but creates 'foo'
mkdir foo ; sleep 1 ; mkdir foo/bar    SUCCESS

The FAILs return -EACCES on the mkdir call for foo/bar and a -ENOENT on
foo/bar for a stat64 call as well. Is this expected behaviour, or is
there a client (or server) problem here?

Thanks!

-- 
Anders Karlsson <trudheim at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3549 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20070203/35aea596/smime.bin


More information about the samba-technical mailing list