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.

Unraid scripts have wrong permission

Featured Replies

Hey everyone,

 

I am having a weird problem with unraid since a few weeks: Most of the commands from unraid have wrong permissions, therefore things like diagnostics, "New Permissions" and other stuff won't work. I tried restarting the array and setting the permissions manually. Setting them manually helps until a reboot.

 

All files in /usr/local/emhttp/plugins/dynamix/scripts are lacking the execution flag:

root@tower:/usr/local/emhttp/plugins/dynamix/scripts# ls -la
total 148
drwxrwxrwx 2 nobody users   580 Mar 25  2021 ./
drwxrwxrwx 9 nobody users  2140 Sep 27 15:22 ../
-rw-rw-rw- 1 nobody users   434 Aug 31  2018 agent
-rw-rw-rw- 1 nobody users   229 Aug 31  2018 bootmode
-rw-rw-rw- 1 nobody users   420 Aug 31  2018 btrfs_balance
-rw-rw-rw- 1 nobody users   717 Jul 26  2020 btrfs_check
-rw-rw-rw- 1 nobody users   819 Aug 31  2018 btrfs_scrub
-rw-rw-rw- 1 nobody users 15998 Mar  7  2021 diagnostics
-rw-rw-rw- 1 nobody users  1422 Dec 26  2018 disk_log
-rw-rw-rw- 1 nobody users   773 Jan 15  2019 disk_size
-rw-rw-rw- 1 nobody users   541 Aug 31  2018 diskload
-rw-rw-rw- 1 nobody users   405 Nov 13  2019 emcmd
-rw-rw-rw- 1 nobody users  1622 Dec 26  2018 flash_backup
-rw-rw-rw- 1 nobody users   568 Aug 31  2018 ftpusers
-rw-rw-rw- 1 nobody users 15141 Mar 25  2021 monitor
-rw-rw-rw- 1 nobody users  4938 May  5  2020 netconfig
-rw-rw-rw- 1 nobody users  1871 Nov  4  2020 newperms
-rw-rw-rw- 1 nobody users  9138 Sep 20  2020 notify
-rw-rw-rw- 1 nobody users   668 Jul 26  2020 reiserfs_check
-rw-rw-rw- 1 nobody users  3574 Mar  2  2019 rsyslog_config
-rw-rw-rw- 1 nobody users   825 Mar 22  2020 share_size
-rw-rw-rw- 1 nobody users  7516 Sep 30  2020 statuscheck
-rw-rw-rw- 1 nobody users  1576 Feb 12  2021 tail_log
-rw-rw-rw- 1 nobody users  2258 Jan  9  2020 update_access
-rw-rw-rw- 1 nobody users  1580 Sep  3  2019 upnp_poller
-rw-rw-rw- 1 nobody users   104 Sep  3  2019 upnp_poller_start
-rw-rw-rw- 1 nobody users  1331 Sep  3  2019 upnp_port
-rw-rw-rw- 1 nobody users  1107 Jun 19  2020 vfio_log
-rw-rw-rw- 1 nobody users   507 Jul 26  2020 xfs_check

Adding it with chmod +x * solves the problem, until I restart.

 

Anybody have an idea what causes this issue? It is quite annoying :(

Edited by caffeinejunkey

  • caffeinejunkey changed the title to Unraid scripts have wrong permission

Are you running some other script that's changing the permissions?

  • Community Expert

This is what mine look like on my Test Bed server running 10.6.0-rc2:

ls -al /usr/local/emhttp/plugins/dynamix/scripts
total 156
drwxr-xr-x  2 root root   560 Aug 25 12:50 ./
drwxr-xr-x 10 root root  2160 Oct 29 14:43 ../
-rwxr-xr-x  1 root root   434 Aug 31  2018 agent*
-rwxr-xr-x  1 root root   229 Aug 31  2018 bootmode*
-rwxr-xr-x  1 root root   420 Aug 31  2018 btrfs_balance*
-rwxr-xr-x  1 root root   717 Jul 26  2020 btrfs_check*
-rwxr-xr-x  1 root root   819 Aug 31  2018 btrfs_scrub*
-rwxr-xr-x  1 root root 26282 Aug 25 12:50 diagnostics*
<<< SNIP >>>

 

  • 4 weeks later...
  • Author

Sorry for my late response.

@SquidNo, I did not. I also tried to fix the permission with the "New Permission" thing in the WebGUI - it did not help. Also, updating to 6.9.2 and restarting the Server resulted in the same issue.

add executable to the diagnostics script, then run it and post here.  But, odds on it's some other script that your running or similar that's changing the permissions.

  • Community Expert
6 hours ago, caffeinejunkey said:

"New Permission"

That only affects the disks and not the OS files.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.