[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Jailkit-users] jailing users to home with apache

From: Brian Platt
Subject: [Jailkit-users] jailing users to home with apache
Date: Thu, 21 Jun 2018 15:34:14 +0100

So I have users setup that they have public_html in their root directory to put web files in however i'm unable to make this AND jailing user to their home directory work i.e

If I do
chmod 0700 /opt/jail/home/*
then users are jailed to their home dir and if they try to get into another they getĀ Permission denied
however when browsing to their website i.eĀ 
http://IP ADDRESS/~user
I get


You don't have permission to access /~user/ on this server.

apache log

/opt/jail/home/user/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/opt/jail/home/user/' is executable 9.htaccess exists)

if i do
chmod 0755 /opt/jail/home/*
then the page loads correctly

So what permissions do i need to use to jail users to home and make their page still viewable?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]