Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Read only after x minutes?

Featured Replies

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 by vollans

Solved by vollans

  • 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.

  • 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.

  • Author

**Update** Change Export to No in SMB settings for the share, then restart, and it works.

Edited 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.