[Top][All Lists]

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

Re: [Jailkit-users] tomcat accessing jailed users home directory...grou

From: Kevin
Subject: Re: [Jailkit-users] tomcat accessing jailed users home directory...group permissions?
Date: Mon, 2 Feb 2009 08:51:23 +0800

try setfacl.

setfacl -m u:tomcat:rwx /home/jail/tomcat

On Sun, Feb 1, 2009 at 8:07 AM, Ryan Wexler <address@hidden> wrote:
> First off I am not a linux user permissions expert so maybe I missing
> something obvious.
> On my centos 5.2 server I have installed jailkit and tomcat 6.  I
> jailed several users.  I have given the users access to sftp and I
> have tested this and it works fine.  The problem I am having is the
> tomcat application needs to be able to save files in the jailed users
> home directory.  This works if I run tomcat as root, but when I run
> tomcat with the tomcat user then, that user of course doesn't have
> permission to the jailed user's home directories.
> I thought that I could get around this by putting assigning tomcat
> user and the jailed users to the same group.  But when I add group
> write access to the jailed users home directory then the jailkit
> doesn't allow sftp anymore.  Why is this?  Is there a way to get
> around this while still retaining my jails and not running tomcat
> under the root user?
> Thanks a bunch
> -ryan
> _______________________________________________
> Jailkit-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/jailkit-users

reply via email to

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