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

Re: [ezjail] Weird Permission Denied Error.



On Fri, Aug 10, 2007 at 04:26:58PM -0500, George Donnelly wrote:
> Dan Rue wrote:
> 
> ># su -m nobody -c 'whoami'
> >su: /bin/csh: Permission denied
> 
> I ran into something like this once.
> 
> what are the perms on the directory on the host inside which is your 
> jail? it should be 755. if world can't read or execute it may be the 
> problem. what about the directory above this?
> 
> note i am referring to the host and not the jail.

Ah Ha!  THANK YOU!

I had 755 on /usr/jails, /usr/jails/basejail, and
/usr/jails/basejail/usr.

Now, was that my fault or ezjail's?  I guess most people don't run with
a umask of 027 anymore..

Dan