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.

Permissions on files installed by plugins

Featured Replies

Hey plugin authors! I am trying to prevent a class of errors related to ownership and permissions on files/dirs installed by plugins.

 

We want to make sure that all files/dirs are owned by root:root and have perms of 755 or 644. This applies to files installed in the operating system, not user files you place on the flash or array.

 

Unraid itself does not yet enforce these rules, but I'd like to get there.

 

I've written a small script that detects problems, you can see it here:
  https://gist.github.com/ljm42/d612bcfbc071d854baba53c482fd64e4

 

To run it on your system and detect issues with the plugins you have installed:

 

It will run through the txz files on your flash drive and flag any ownership issues or permission issues.

 

Please update your plugin's txz files so they are not flagged by this test. Or let me know if you think it is flagging something unnecessarily.

 

Thanks!

 

p.s. please don't feel personally attacked by this, my plugin fails this test currently too :)

8 minutes ago, ljm42 said:

please don't feel personally attacked by this,

Too late ;) 

  • Author

LOL you know I was thinking of you when I wrote that :) 

  • 2 weeks later...
On 3/10/2021 at 2:12 PM, ljm42 said:

 

I've written a small script that detects problems, you can see it here:

You need to modify your script to also include .tgz.  I use a zipped file that I unzip into the proper plugin location.  I don't create a package.

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.