Re: rmdir() fails for a dir w/o write perm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes - looks like a client bug (fixable by removing the read only dos attribute)

On Wed, Sep 18, 2024 at 12:54 PM Henrique Carvalho
<henrique.carvalho@xxxxxxxx> wrote:
>
> Hi,
>
> On Mon, Sep 16, 2024 at 03:43:22PM GMT, Maxim Patlasov wrote:
> > Hi,
> >
> > Is this a bug or well-known issue?
>
> I think this is the expected behavior.
>
> When I try to reproduce this I get a STATUS_CANNOT_DELETE from the
> server.
>
> This is from a MS-SMB2 Normative Reference:
>
> If File.FileAttributes.FILE_ATTRIBUTE_READONLY is TRUE, the
> operation MUST be failed with STATUS_CANNOT_DELETE.
>
> ref.: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-fsa/386d9ec5-e0f6-4853-b175-c05be01419e0
>
> --
> Henrique
>


-- 
Thanks,

Steve





[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux