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.

How to configure Permissions with Read / Write but NOT DELETE

Featured Replies

Dear Sir

1) I would like to know is there an option to set up user permissions in such a way, that the user can Read / Write to the SMB share, but not Delete any file/folder. This is so as to prevent any catastrophic data loss in case of accidental deletion.

2) If the above cannot be achieved, the second best option would be the recycle bin plugin, do we have to separately install it on the latest version of UnRaid, or does it come pre-installed?

 

Best regards

  • Community Expert

There is a Recycle Bin plugin. Check in Community Applications. It only recycles deletes that were done over the network.

  • Author
3 hours ago, trurl said:

There is a Recycle Bin plugin. Check in Community Applications. It only recycles deletes that were done over the network.

 

Shall I assume that the first option, that is " set up user permissions in such a way, that the user can Read / Write to the SMB share, but not Delete any file/folder." is NOT POSSIBLE?

  • Community Expert
15 minutes ago, Vishesh Gupta said:

 

Shall I assume that the first option, that is " set up user permissions in such a way, that the user can Read / Write to the SMB share, but not Delete any file/folder." is NOT POSSIBLE?

I would think so.   Never seen any suggestion that this might be possible.

The first option is not possible since logically within Linux the ability to write to a file implies the ability to delete it.

OK, there might be a way to kludge Linux into allowing files to be written but not deleted but it's messy and not supported by the unRAID GUI. It involves the use of either the sticky bit (POSIX permissions) or the immutable flag (which relies on the file system supporting that particular extended attribute - it seems that XFS does). You'd need to change the permissions and ownership of both the file to be protected and its containing folder and I'm not sure how it would then work with SAMBA. For more information see here.

 

In summary then, if you don't mind doing some command line work you might be able to kludge it but for all practical purposes it's better to assume that it can't be done.

  • 2 years later...

You can achieve this mapping the shares through an FTP server. I used FileZilla and although I encountered a lot of problems it is working now.
Here are some tips

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.