Actions
Bug #13441
closedSMB: Creating named streams on existing files is not quite right
Start date:
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:
Description
In MS-FSA, 'file lookup' effectively has the following branches:
1. If the file doesn't exist, create the file and the stream
2. If the file exists, and the stream exists, perform access and sharing checks
3. If the file exists, but the stream doesn't exist, perform access checks, then create the stream.
Currently, 1 and 3 are collapsed into a single branch: If the file exists, but the stream doesn't, that's treated as if the file didn't exist.
Files
Updated by Matt Barden over 2 years ago
- File stream-setup.sh stream-setup.sh added
- File stream-test.sh stream-test.sh added
Testing Notes:
Run streams-setup.sh in a directory on a share on the server under test.
Mount the share from an illumos-based client, cd into streams-test-dir, then run streams-test.sh .
Updated by Electric Monk over 2 years ago
- % Done changed from 0 to 100
- Status changed from In Progress to Closed
git commit 0a73e6f973645e207d33a7012fed997991b4e531
commit 0a73e6f973645e207d33a7012fed997991b4e531 Author: Matt Barden <matt.barden@nexenta.com> Date: 2021-01-30T19:02:54.000Z 13441 SMB: Creating named streams on existing files is not quite right Reviewed by: Evan Layton <elayton@tintri.com> Reviewed by: Gordon Ross <gordon.ross@tintri.com> Reviewed by: Roman Strashkin <rstrashkin@tintri.com> Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
Actions