[Python-bugs-list] [ python-Bugs-539942 ] os.mkdir() handles SETGID inconsistently
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 05 Apr 2002 11:31:08 -0800
Bugs item #539942, was opened at 2002-04-05 11:31
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=539942&group_id=5470
Category: Python Library
Group: Python 2.1.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Les Niles (lniles)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.mkdir() handles SETGID inconsistently
Initial Comment:
Under FreeBSD 4.4, with the 2.1.2, 2.1.1 or 1.5.2
library, os.mkdir() does NOT set the SETGID or SETUID
bits, regardless of whether they're specified in the
mode argument to os.mkdir(). The bits can be set via
a call to os.chmod(). This behavior appears to be
inherited from FreeBSD's mkdir() os call. On Linux,
the SETGID/SETUID bits are set via os.mkdir()'s mode
argument. (As near as I can tell, POSIX.1 specifies
yet a different behavior.) This is a bug from the
standpoint of Python's os module providing a uniform
interface.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=539942&group_id=5470