bsdpot / pot

pot: another container framework for FreeBSD, based on jails, ZFS and pf
BSD 3-Clause "New" or "Revised" License
341 stars 31 forks source link

[BUG] `su` inside a pot does not work due to wrong root fs permissions #249

Closed zilti closed 1 year ago

zilti commented 1 year ago

Describe the bug Trying to su to another user account inside a jail created with Pot will fail due to wrong access permissions for /.

To Reproduce Steps to reproduce the behavior:

  1. Create a pot
  2. Try to change to another user with su
  3. See error

Expected behavior I expect to get a shell for that other user

Additional context The workaround is to run chmod 0755 / inside the jail.

grembo commented 1 year ago

This is a duplicate of #233

It has already been fixed in master (#234)

@pizzamig what about doing a new release soon (maybe after #240 has been merged).