Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Nov 2024 22:27:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 282575] linux jail: setting S_ISGID on directory should be ignored
Message-ID:  <bug-282575-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282575

            Bug ID: 282575
           Summary: linux jail: setting S_ISGID on directory should be
                    ignored
           Product: Base System
           Version: 13.4-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: joerg@FreeBSD.org

Running an installer of a large software (Intel Modelsim), it tries to set =
the
S_ISGID on many of the directories it is going to install. On Linux, this b=
it
causes BSD semantics for files created within such a directory (i.e. the gr=
oup
is inherited from the directory rather than from the process creating it).

Currently, attempting to set S_ISGID from within a (Linux?) jail causes an
EPERM. As the desired behaviour (inherit group membership for new files) is=
 the
BSD behaviour anyway, it makes most sense to simply ignore this bit from wi=
thin
a jail, rather than triggering an error.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282575-227>