• Steve French's avatar
    smb3: Add new parm "nodelete" · 82e9367c
    Steve French authored
    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.
    Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
    CC: Stable <stable@vger.kernel.org>
    Reviewed-by: default avatarPavel Shilovsky <pshilov@microsoft.com>
    82e9367c
cifsfs.c 45.7 KB