May 4, 20242 yr Hi, I’m currently evaluating Unraid and TrueNAS. One feature of TrueNas that I really like that I can’t immediately see a way to replicate is the ability to set up a share so that after writing a file after X minutes it becomes read only to help with protection against potential ransomware attacks. Is there any way to achieve that in Unraid? Edited May 4, 20242 yr by vollans
May 4, 20242 yr Community Expert 1 minute ago, vollans said: Is there any way to achieve that in Unraid? There's no GUI option at the moment, I assume TrueNAS uses the worm VFS Samba module, you should be able to set it manually for any share by using the SMB Extras field. https://wiki.samba.org/index.php/Using_the_worm_VFS_Module
May 4, 20242 yr Author Ok, I’m on day 1, so that looks like it’s a bit beyond me at the moment! I can see the SMB Extras field in the settings panel, but it’s not immediately obvious how to set it up for a specific directory.
May 5, 20242 yr Author Solution Hmm. OK, I tried putting [archive] path = /mnt/user/archive comment = browseable = yes writeable = no read list = write list = stephen,nigel valid users = stephen,nigel case sensitive = auto preserve case = yes short preserve case = yes vfs objects = catia fruit streams_xattr worm fruit:encoding = native worm:grace_period = 86400 # 1 day Into the SMB Extras, but the samba configuration file is unmodified.
May 5, 20242 yr Author **Update** Change Export to No in SMB settings for the share, then restart, and it works. Edited May 5, 20242 yr by vollans
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.