MrUmunhum
Posts: 34
Joined: Fri Aug 05, 2011 4:37 pm

chroot, selinux: disable selinux?

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.

MrUmunhum
Posts: 34
Joined: Fri Aug 05, 2011 4:37 pm

Re: chroot, selinux: disable selinux?

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> 

MrUmunhum
Posts: 34
Joined: Fri Aug 05, 2011 4:37 pm

[Solved] Re: chroot, selinux: disable selinux?

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?

Return to “Raspbian”

Who is online

Users browsing this forum: No registered users and 15 guests