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.

Way to Prevent Mover from Deleting Folders on Cache Drive

Featured Replies

  • Community Expert

I am attempting to use the method in this post to protect my files from operator error and Malware.   

In my testing phase, I went through and added files at the bottom of each directory tree figuring that the tree would be preserved on the cache drive after Mover had done its thing.  (Obviously, having the tree already there on the cache drive there would be a big help when I want to write a file to the cache-disk share three or four layers deep down the tree.)   But that was not the case.  The tree was deleted.  Is there anyway (perhaps by a file name) to prevent this from happening or is there a switch that I missed somewhere in the GUI. 

Edited by Frank1940
Running 6.3.5 in this case

  • Author
  • Community Expert

One thing I tried after my initial post was to change the read/write permissions so that the file at the bottom of the tree was read-only for owner/group/other (figuring that a non-empty directory could not be deleted).  As I suspected, Mover is running as root and it simply deleted a read-only file anyway. 

The mover is a script so it could be modified to not delete directories. I seem to recall that years ago it didn't remove directories and then was changed to remove them.

Create your directory folder tree on the cache drive, and then create a copy of that folder tree in another folder on the cache drive that is configured as "Cache only".  This way your copy of the folder tree won't get moved.  Any time you want to add files to your server, just copy the folder tree from the cache only folder to the root of the cache drive.  Takes 2 seconds.  

 

This is how I personally do it.   

  • Author
  • Community Expert
1 hour ago, jevans04 said:

Create your directory folder tree on the cache drive, and then create a copy of that folder tree in another folder on the cache drive that is configured as "Cache only".

I assume this is done by setting the ' Use cache disk: ' parameter on the 'Share Settings' page for this new share with the tree to "Only".

1 hour ago, Frank1940 said:

I assume this is done by setting the ' Use cache disk: ' parameter on the 'Share Settings' page for this new share with the tree to "Only".

 

Yes

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.