Ubuntu 18.04: Cannot run as root

Get help for specific problems
Posts: 2
Joined: 27 Apr 2021

StefanJXJ

Hi,

I have been using this great tool on an Ubuntu 18.04 server system as a home backup solution.

As of version 11.7, I can not run FreeFileSync as root user anymore.

On a terminal the following error messages are shown:
terminate called after throwing an instance of 'std::runtime_error'
  what():  ffs_paths.cpp[114] Cannot get process information.

Failed to determine non-root user name
Error starting "/usr/local/bin/freefilesync.bin/Bin/FreeFileSync_x86_64".
Killed by signal  6
It seems the error has something to do with the following change from the changelog:
Use login user config path when running as root (macOS, Linux)
The GlobalSettings.xml for the user root is in /root/.config/FreeFileSync

My use case is, that a root crontab script is running a sync to collect data files from multiple windows system SMB shares as a backup. After the sync the script needs to change the access rights of the files on the linux server so the user on the windows systems have read rights to the backuped files on the SMB share on the server. For this the root access is needed.

Any help is appreciated...
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

Fixed in FFS 11.10! Thanks for the report.
Posts: 2
Joined: 27 Apr 2021

StefanJXJ

Thank you very much for the quick fix.
V11.10 works now.

And thank you for all the work you put into this great piece of software!