Re: Permission denied when running from xinetd
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hmm. Bizarre things happening when root and different behaviour when run as a daemon versus from the command line. Those are the sort of symptoms one gets from SELinux denials. Is SELinux enabled on this system? I am not aware of SE linux running on this system unless centos is enabling this by default. How do I check? (I know I should not ask...) [EMAIL PROTECTED] ~]# uname -a Linux centos1.tekran.com 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 i686 i386 GNU/Linux It depends how CentOS was installed, but SELinux probably is enabled. The command sestatus will tell you. You can control SELinux using the setenforce command or by editing /etc/selinux/config. Disabling it completely may require a reboot. Ron -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Re: Permission denied when running from xinetd
Matt McCutchen [EMAIL PROTECTED] wrote: On Sun, 2007-11-25 at 17:37 -0500, [EMAIL PROTECTED] wrote: When I run rsyncd from xinetd and try to rsync I will get permission denied error: rsync: chdir /home/test failed : Permission denied (13) That's very bizarre, since the daemon is ostensibly running as root and the permissions on /home/test clearly should allow the chdir. Hmm. Bizarre things happening when root and different behaviour when run as a daemon versus from the command line. Those are the sort of symptoms one gets from SELinux denials. Is SELinux enabled on this system? Ron -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html