Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 2.13 KB

File metadata and controls

56 lines (43 loc) · 2.13 KB

How to set the package permissions

Only versions older than v4.1.16 need these steps

There are 2 ways you can set the required permissions for the package.

Set package permissions via SSH

sudo install -m 4755 -o root -D /var/packages/TranscodeDrivers/target/bin/spk_su /opt/sbin/spk_su
sudo chmod a+rx /opt /opt/sbin
sudo /opt/sbin/spk_su TranscodeDrivers
sudo rm /var/packages/TranscodeDrivers/installing

You can now click Run to start the Transcode Drivers for x25 package in Package Center.

  • If the button still shows Uninstall instead of Run click the Refresh button.

Set package permissions in Synology Task Scheduler

  1. Go to Control Panel > Task Scheduler > click Create > and select Scheduled Task.
  2. Select User-defined script.
  3. Enter a task name.
  4. Select root as the user (The package's start-stop-status script needs to run with elevated permissions).
  5. Untick Enable so it does not run on a schedule.
  6. Click Task Settings.
  7. In the box under User-defined script copy and paste the following.
    file=/var/packages/TranscodeDrivers/target/bin/spk_su
    install -m 4755 -o root -D "$file" /opt/sbin/spk_su
    chmod a+rx /opt /opt/sbin
    /opt/sbin/spk_su TranscodeDrivers
    rm /var/packages/TranscodeDrivers/installing
    
  8. Click OK to save the settings.
  9. Click on the task - but don't enable it - then click Run.
  10. Once the scheduled task has run you can delete the task, or keep it in case you need it again.

You can now click Run to start the Transcode Drivers for x25 package in Package Center.

  • If the button still shows Uninstall instead of Run click the Refresh button.

Here's some screenshots showing what needs to be set:

Step 1

Step 2

Step 3

Step 4