chroot, selinux: disable selinux?


3 posts
by MrUmunhum » Tue Nov 06, 2012 7:01 pm
Hi group,

I need to disable selinux on my raspbian Pi. Have been unsuccessful finding anything on Google. Any pointers??

Thanks for your time.
Posts: 21
Joined: Fri Aug 05, 2011 4:37 pm
by MrUmunhum » Tue Nov 06, 2012 7:08 pm
Forgot to say why. I get a "permission denied" when attempting to sftp into the jail.
Code: Select all
sftp> put wc
Uploading wc to /Incoming/wc
remote open("/Incoming/wc"): Permission denied
sftp>
Posts: 21
Joined: Fri Aug 05, 2011 4:37 pm
by MrUmunhum » Tue Nov 06, 2012 8:00 pm
OK, I fixed it. Turns out the the chroot jail needs to be owned by root but the files need to be owned by the chroot user, not sure why?
Posts: 21
Joined: Fri Aug 05, 2011 4:37 pm