Re: [PATCH][CIFS] Add 'nodelete' mount parm

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

 



Hm.

Do we need this in the cifs module? We already have so many cifs
specific options.

I mean, this feature might be useful for when handling buggy applications
but there is nothing cifs specific in it.

Should this rather be a mount option that affects the VFS layer
itself, and thus protects
ALL filesystems from these kind of buggy applications?

(It can also be solved by ACLs on the server. A top level ACE that
denied delete and that is inherited to all
child objects)

Regards
ronnie s


On Tue, May 19, 2020 at 6:14 PM Steve French <smfrench@xxxxxxxxx> wrote:
>
>     In order to handle workloads where it is important to make sure that
>     a buggy app did not delete content on the drive, the new mount option
>     "nodelete" allows standard permission checks on the server to work,
>     but prevents on the client any attempts to unlink a file or delete
>     a directory on that mount point.  This can be helpful when running
>     a little understood app on a network mount that contains important
>     content that should not be deleted.
>
>
> --
> Thanks,
>
> Steve



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

  Powered by Linux