This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Transmission could not restart from own user

Transmission bittorrent server.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
MikeMac
Forum Moderator
Forum Moderator
Posts: 429
Joined: 07 Oct 2012 23:12
Location: Moscow, Russia
Contact:
Status: Offline

Transmission could not restart from own user

Post by MikeMac »

I could restart transmission from root

Code: Select all

nas4free ~/ root~$ /etc/rc.d/transmission onerestart
Stopping transmission.
Waiting for PIDS: 22600.
Starting transmission.
But not from transmission user. I'd like it for bash script. I do not like to run this script (namely viewtopic.php?f=47&t=828) from root

Code: Select all

nas4free ~/ root~$ su transmission
% /etc/rc.d/transmission onerestart
Stopping transmission.
Waiting for PIDS: 14451, 14451.
Permission denied: /conf/config.xml
Permission denied: /conf/config.xml
failed to load external entity "/conf/config.xml"
(...)
Starting transmission.
limits: setrlimit datasize: Operation not permitted
/etc/rc.d/transmission: WARNING: failed to start transmission
Reason in understandable

Code: Select all

nas4free ~/ root~$ ls -la /conf/config.xml
-rw-------  1 root  wheel  83988 Feb 23 00:48 /conf/config.xml
This is done for security reasons quite recently. But I think, transmission service should be possible to restart from transmission user, is not it?

Post Reply

Return to “BitTorrent”