Only root as access to rsync
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 ?
-
Never mind. It was related to CageFS. Disabled CageFS and the scripts started to work. 0 -
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. 0 -
Hello, That worked, as root in terminal: cagefsctl --addrpm rsync cagefsctl --force-update && cagefsctl -M 0
Please sign in to leave a comment.
Comments
4 comments