[Samba] Odd Samba behavior using Windows XP client API
Gerald (Jerry) Carter
jerry at samba.org
Wed Jan 25 17:34:14 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Jean Cyr wrote:
> I'm having problems with a utility I wrote deleting folders from a
> Thecus N4100 Samba based fileserver. I do not have access or control
> over its Samba config file and this may not be a Samba problem but
> perhaps someone here can point me in the right direction???
> When I issue a Windows API RemoveDirectory function against an empty
> folder residing on a Samba share, the function returns with a success
> return code but does not delete the folder! This is a known problem
> and is documented in the Cygwin rmdir command as occurring when the
> folder is flagged as read-only, which is the Samba default.
See the 'map readonly' smb.conf(5) parameter in 3.0.21.
Or the better solution is to use 'store dos attributes'
parameter with file system EAs.
I live in a Reply-to-All world -----------------------
Samba ------- http://www.samba.org
Centeris ----------- http://www.centeris.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the samba