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

Re: [ezjail] Weird Permission Denied Error.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dan Rue wrote:

> # su -m nobody -c 'whoami'
> su: /bin/csh: Permission denied
> 
> On any normal system, or normal jail, that command works fine.  
> 
> I've checked all my jail sysctls, I've checked all the rc variables that
> i've found, and can't figure this out.  It's not a system problem - a
> normal jail behaves normally on the exact same system.  Just not the
> ezjail. 
> 
> I set the ezjails up twice, from scratch, using all defaults, with and
> without specifying a flavor.  Can post the specific commands if that
> would help.  

Hello,

I've seen this before. Would you please check permissions of /usr and
/usr/local in your jail. Sometimes cpio created some directories with
700 permissions, making libraries (including standard C library)
inaccessible, thus the "permission denied".

I thought that I fixed the problem a long time ago... Could it possibly
be the case that you aborted any of ezjails operations and restarted
them later? That way cpio wont fix permissions for directories it has
not created itself?

Just guessing here

  erdgeist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFGvbpiImmQdUyYEgkRAquBAJ45XTxcZDDkKiJn4dB32fPjR2+qpACeJ4rd
TLi/sZIO+U0iK2e9//+FKyQ=
=Syi9
-----END PGP SIGNATURE-----