caffeinejunkey Posted November 9, 2021 Share Posted November 9, 2021 (edited) 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 November 9, 2021 by caffeinejunkey Quote Link to comment
Squid Posted November 9, 2021 Share Posted November 9, 2021 Are you running some other script that's changing the permissions? Quote Link to comment
Frank1940 Posted November 9, 2021 Share Posted November 9, 2021 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 >>> Quote Link to comment
caffeinejunkey Posted December 7, 2021 Author Share Posted December 7, 2021 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. Quote Link to comment
Squid Posted December 7, 2021 Share Posted December 7, 2021 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. Quote Link to comment
trurl Posted December 7, 2021 Share Posted December 7, 2021 6 hours ago, caffeinejunkey said: "New Permission" That only affects the disks and not the OS files. Quote Link to comment
Recommended Posts
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.