https://github.com/etcd-io/etcd
Revision 319331192e8fe2150345e3f7f9a106049a1d69ec authored by Sahdev P. Zala on 15 June 2020, 19:07:17 UTC, committed by Sahdev P. Zala on 07 July 2020, 15:46:31 UTC
os.MkdirAll creates directory before umask so make sure that a desired
permission is set after creating a directory with MkdirAll. Use the
existing TouchDirAll function which checks for permission if dir is already
exist and when create a new dir.
1 parent 2acdf88
History
Tip revision: 319331192e8fe2150345e3f7f9a106049a1d69ec authored by Sahdev P. Zala on 15 June 2020, 19:07:17 UTC
pkg: consider umask when use MkdirAll
Tip revision: 3193311
File Mode Size
.github
Documentation
auth
client
clientv3
contrib
embed
etcdctl
etcdmain
etcdserver
functional
hack
integration
lease
logos
mvcc
pkg
proxy
raft
scripts
security
tests
tools
vendor
version
wal
.gitignore -rw-r--r-- 568 bytes
.header -rw-r--r-- 593 bytes
.travis.yml -rw-r--r-- 3.2 KB
.words -rw-r--r-- 1.2 KB
CONTRIBUTING.md -rw-r--r-- 3.2 KB
DCO -rw-r--r-- 1.4 KB
Dockerfile-release -rw-r--r-- 623 bytes
Dockerfile-release.arm64 -rw-r--r-- 222 bytes
Dockerfile-release.ppc64le -rw-r--r-- 224 bytes
LICENSE -rw-r--r-- 11.1 KB
MAINTAINERS -rw-r--r-- 790 bytes
MAINTAINERS_RULES.md -rw-r--r-- 703 bytes
Makefile -rw-r--r-- 17.5 KB
NOTICE -rw-r--r-- 126 bytes
OWNERS -rw-r--r-- 216 bytes
Procfile -rw-r--r-- 1.5 KB
Procfile.v2 -rw-r--r-- 1.5 KB
README.md -rw-r--r-- 8.2 KB
bill-of-materials.json -rw-r--r-- 7.3 KB
bill-of-materials.override.json -rw-r--r-- 254 bytes
build -rwxr-xr-x 2.6 KB
build.bat -rwxr-xr-x 51 bytes
build.ps1 -rw-r--r-- 2.7 KB
code-of-conduct.md -rw-r--r-- 3.0 KB
etcd.conf.yml.sample -rw-r--r-- 3.5 KB
functional.yaml -rw-r--r-- 7.2 KB
go.mod -rw-r--r-- 2.4 KB
go.sum -rw-r--r-- 21.0 KB
main.go -rw-r--r-- 1.0 KB
main_test.go -rw-r--r-- 1.1 KB
test -rwxr-xr-x 20.6 KB

README.md

back to top