It should be possible to set an "immutable inherit" or "immutable on close" flag on a parent directory that results in the FS_IMMUTABLE_FL to be set on all new files created in that directory after it is closed by the last client.
There is already some delay between the application close on the client, and when the close is sent to the MDS, so this should avoid issues with files being opened and closed briefly after creation, but this should be tested.
- is related to
-
LU-14915 Add project flags to manage the project's directories and files
-
- Open
-
-
LU-17957 set immutable with "future atime + chmod a-w"
-
- Open
-
-
LU-19252 option to disallow rename on archived files/directories
-
- Open
-
-
LU-19507 nodemap RBAC role for setting inode attributes
-
- Open
-
- is related to
-
LU-14915 Add project flags to manage the project's directories and files
-
- Open
-