Jump to content

Unraid scripts have wrong permission


Recommended Posts

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
Link to comment
  • caffeinejunkey changed the title to Unraid scripts have wrong permission

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 >>>

 

Link to comment
  • 4 weeks later...

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...