Only root as access to rsync

JIKOmetrix

Well-Known Member
Apr 3, 2007
240
47
178
Hello,

I have fresh install of cpanel on Almalinux with Cloud Linux over that.

I have some users that have perl scripts that use rsync.

If the user tries to call rsync in a bacsh terminal they get this error: jailshell: rsync: command not found or bash: rsync: command not found if they have normal shell

If I try to call the full path as a user I get error: bash: /usr/bin/rsync: No such file or directory

If I call it as root it works.

How can I give users access to /usr/bin/rsync ?
 
Last edited by a moderator:

JIKOmetrix

Well-Known Member
Apr 3, 2007
240
47
178
Never mind.

It was related to CageFS. Disabled CageFS and the scripts started to work.
 

JIKOmetrix

Well-Known Member
Apr 3, 2007
240
47
178
Thanks.
That was going to be my next question. After disabling CasgeFS, alt-PHP74 does not work and created other errors.
Will try this now.
 
  • Like
Reactions: cPRex

JIKOmetrix

Well-Known Member
Apr 3, 2007
240
47
178
Hello,

That worked, as root in terminal:

cagefsctl --addrpm rsync
cagefsctl --force-update && cagefsctl -M
 
  • Like
Reactions: cPRex