bug-bash
[Top][All Lists]
Advanced

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

documentation bug (uid resetting in posix mode)


From: Stefano Lattarini
Subject: documentation bug (uid resetting in posix mode)
Date: Tue, 30 Oct 2012 16:36:01 +0100

>From experimenting, I've found out that bash (4.2.20), when invoked
as "sh", doesn't reset the effective user id to the real user id,
even if called *without* the '-p' option.

This behaviour seems consistent with that of other POSIX shells like
dash (0.5.7) and ksh (JM 93u+ 2012-02-29), so I believe bash is
correct here.

However, I couldn't find mention of such behaviour in the manual,
which is rather confusing.

Am I missing something, or have I found a bug in the manual?

Regards,
  Stefano



reply via email to

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