[Samba] [3.6.6] Windows won't let me delete files

tejas sarade tejas.a.sarade at gmail.com
Wed Nov 27 11:34:36 MST 2013


On Wed, Nov 27, 2013 at 9:11 PM, Winfried <codecomplete at free.fr> wrote:

>
> While I can successfully copy files from a Windows 7 host to Samba,
Windows
> won't let me delete files on the Samba host: "File cannot be deleted.
Please
> remove the write protection."

It looks like the file is write protected, it means it may be currently in
use by other application either on samba server or on Windows.
Also check the windows file attributes

>
> log level = 2

Try increasing log level to 3 or 4.


> The default /etc/passwd already contains a "nobody" user, which I read is
> used by Samba for the guest account unless otherwise specified:

That is correct.

> ===================
> # grep nobody /etc/passwd
> nobody:x:65534:65534:nobody:/nonexistent:/bin/sh
> ===================
>
> Finally, here's one of the files in /tmp that I wanted to delete from
> Windows:
> ===================
> -rwxr--r-- 1 nobody nogroup  87723 Nov 17  2004 dummy.html*
> ===================

It doesn't seem to be a problem of permission. If it were the problem of
permission windows will give the error like below.

'You need permission to perform this action'


More information about the samba mailing list