mirror of
https://github.com/007revad/Synology_HDD_db.git
synced 2026-04-25 13:45:59 +03:00
[GH-ISSUE #153] Permission denied with sudo -i #64
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#64
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 @19Homer73 on GitHub (Oct 11, 2023).
Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/153
Hello,
I can't run the script via putty.
There ist a permission denied message, when I tried to run the .sh:
Could someone please give me a hint to resolve this issue?
Thanks!
@007revad commented on GitHub (Oct 11, 2023):
What folder did put the syno_hdd_db.sh file in?
@19Homer73 commented on GitHub (Oct 11, 2023):
It's in the screenshot: /volume1/scripts/
@007revad commented on GitHub (Oct 11, 2023):
But is the script actually in /volume1/scripts ?
What does
ls -l /volume1/scriptsreturn?@19Homer73 commented on GitHub (Oct 11, 2023):
@19Homer73 commented on GitHub (Oct 11, 2023):
OK - found the problem...
Changed permission to 777 then it worked!
@007revad commented on GitHub (Oct 11, 2023):
You beat me to it :)
Run the following command to make the script executable:
chmod 750 /volume1/scripts/syno_hdd_db.shYou should then be to run the script with:
sudo -i /volume1/scripts/syno_hdd_db.sh -nr