mirror of
https://github.com/007revad/Synology_HDD_db.git
synced 2026-04-25 13:45:59 +03:00
[GH-ISSUE #576] dhm_tool requires basic execute permissions. #215
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Synology_HDD_db#215
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PeterSuh-Q3 on GitHub (Mar 7, 2026).
Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/576
Hello.
Similar to RR, I'm using your script in the hdddb addon for TCRP-MSHELL.
Due to the nature of both loaders, the script auto-update loops indefinitely.
The hdddb.sh (from syno_hdd_db.sh), statically stored in initrd-dsm,
remains at the version that created the addon.
Even if I log in to Synology and update, rebooting will cause the statically stored version in initrd-dsm to be installed again.
Therefore, permanent script updates are impossible.
So, I decided to try using the --autoupdate:0 option.
While the version can't be permanently updated, I eliminated the unnecessary 30-second wait twice and made the script use the latest version immediately upon boot.
However, during this process, I received the following error message:
Although hdddb.sh will likely never directly use dhm_tool,
dhm_tool requires basic execution permissions.
Please adjust it.
Thank you.
@PeterSuh-Q3 commented on GitHub (Mar 7, 2026):
I tested it again, and there was no problem when the service was initially run with sudo privileges.
When running it manually, as shown below, the issue seems to have occurred because permissions weren't granted to the downloaded executable.
I don't think you need to worry about it.
I'll close this issue.
@PeterSuh-Q3 commented on GitHub (Mar 7, 2026):
This is a normal log of the service running.