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.

Avoid Ransomware, use SFTP instead of SMB -> Leads to Permissions problem?

Featured Replies

I had an idea to avoid ransomware from attacking both my main computer and my UnRaid. I figured that if I got ransomware on my main Windows computer and the UnRaid shares were mounted on my Windows machine, then the ransomware would infect the UnRaid too.

 

To avoid this, I mounted the shares as read only for my account with SMB, and then ran backups from Windows to UnRaid over SFTP with my backup software Beyond Compare. The problem is that the permissions for the files copied with SFTP don't match the UnRaid default of "nobody:users" and instead show up as "root:root".

 

Is there a way for me to set it up so that when I copy files using SFTP, all the the files have the right permissions? I've attached a screenshot of files copied using SMB (above) and SFTP (below).

 

Or, alternatively, is there another way to do what I want (avoiding ransomware taking over both computers simultaneously) that I haven't thought of?

 

Thanks in advance.

2020-10-21 01_34_05-Tower - noVNC.png

  • Community Expert

You might want to consider using this method.  It, basically, employs the same scheme of using an alternative way of writing to the array.

 

 

  • Author

Thanks for the suggestion, Frank, but that wouldn't work in my case as I run a file/folder comparison backup, so it checks to see what the differences are and copies over only the files it needs. I don't use my Unraid for just Music or Movies, I use it for my entire computer backup with hundreds thousands of folders for various things.

Archived

This topic is now archived and is closed to further replies.

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.