*New 11.3 series Release:
2019-10-05: XigmaNAS 11.3.0.4.6928 - released, 11.2 series are soon unsupported!

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

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: 498
Joined: 07 Oct 2012 23:12
Location: Moscow, Russia
Contact:
Status: Offline

Transmission could not restart from own user

#1

Post by MikeMac » 23 Feb 2017 11:29

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”