Hello everyone,
I hope I searched enough, but so far I have not found a solution to my issue. I am trying to get my most important files synced to MEGA cloud. I hoped to use the cmd tool provided by MEGA for this, as it works fine on my GhostBSD laptop. However, I am not getting anywhere because of users and permissions and possibly the megacmd package not being the best piece of software. It doesn't create a user when installed, I think it's not even set up as a service. Just an application with a command.
What I did so far was creating the jail, getting megacmd to install, even getting it to work. But the user executing the command is root, and I don't think I can let the jail-root user have access to my TrueNAS storage. So I made a "mega" user, added that one to operator and wheel groups. Now I can do:
and am getting
Any ideas? Am I approaching my goal from the overall wrong direction or is this feasible?
Just FYI on my GhostBSD I run
every startup without root privileges or anything and it just works.
I hope I searched enough, but so far I have not found a solution to my issue. I am trying to get my most important files synced to MEGA cloud. I hoped to use the cmd tool provided by MEGA for this, as it works fine on my GhostBSD laptop. However, I am not getting anywhere because of users and permissions and possibly the megacmd package not being the best piece of software. It doesn't create a user when installed, I think it's not even set up as a service. Just an application with a command.
What I did so far was creating the jail, getting megacmd to install, even getting it to work. But the user executing the command is root, and I don't think I can let the jail-root user have access to my TrueNAS storage. So I made a "mega" user, added that one to operator and wheel groups. Now I can do:
Code:
su -m mega -c mega-sync
and am getting
Code:
root@megasyncjail:~ # su -m mega -c mega-sync [Initiating MEGAcmd server in background. Log: /root/.megaCmd/megacmdserver.log] Another instance of MEGAcmd Server is running. Execute with --skip-lock-check to force running (NOT RECOMMENDED) Unable to connect to service: error=2 Please ensure MEGAcmdServer is running Failed to create socket for registering for state changes
Any ideas? Am I approaching my goal from the overall wrong direction or is this feasible?
Just FYI on my GhostBSD I run
Code:
mega-sync