mirror of
https://github.com/golang/go
synced 2024-11-19 11:34:49 -07:00
6262902070
open(2) and mkdir(2) won't set the sticky bit on *BSD and Solaris. This behavior is mentioned on sticky(8). see also: https://github.com/dotcloud/docker/pull/6587 Fixes #8383. Change-Id: Ic4733700f9926b9fc2b6fd1f998acec34e518764 Reviewed-on: https://go-review.googlesource.com/1673 Reviewed-by: Ian Lance Taylor <iant@golang.org>
12 lines
376 B
Go
12 lines
376 B
Go
// Copyright 2014 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// +build darwin dragonfly freebsd netbsd openbsd solaris
|
|
|
|
package os
|
|
|
|
// According to sticky(8), neither open(2) nor mkdir(2) will create
|
|
// a file with the sticky bit set.
|
|
const supportsCreateWithStickyBit = false
|