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.

(solved) How to chattr +i on directories as a cron job?

Featured Replies

Hello all,

 

I'd like to harden my servers against ransomware from my SMB shares. I used to use the deprecated plugin, but that's not updated anymore. 

 

I read a bunch of forum threads about this and some people suggested a scheme to set directories/shares to chattr +i on a set schedule, so new files can be added and then locked down. I did a few files manually via ssh and liked how well it worked. The problem is I don't know how to automate it. I assume they are doing a cron job or something... like that to make that happen. Ideally I'd like to set it per-directory so incoming stuff has it applied after it gets moved and dynamix integrity and plex do their hashing and metadata when applicable.

 

How can I schedule something like that? I know very little about basic linux stuff and just about nothing about cron other than you can schedule stuff with it. 

 

Thanks!

 

 

 

 

Edited by Ouze
solved

  • Author

Man. I cannot believe how easy that was.

 

Thank you so much!

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.